by richardkmiller · 4y ago · 0 comments
I think it's also worth looking at the Rails front-end story. StimulusJS is one of my favorite parts of the Rails stack (though totally usable elsewhere). Instead of ever again writing an event listener in JavaScript, you can write it inline in your HTML, using data-* attributes. It is to JavaScript what Tailwind is to CSS. I heard DHH in a podcast talk about the value of seeing your actions directly in the HTML, not needing to open your JS file to know what's going on. Stimulus and also Turbo definitely have an interesting place in the world and are extremely powerful when they're a good fit. On the other hand, I've still had use for React at times.
Outside of Rails, I'm excited to try Remix (https://remix.run/) because of its batteries-included approach and what seems like a novel approach to server-side rendering without all the work.
No comments yet.