Ask HN: What are the best places to learn Rails' hotwire
Hi! I started learning how to code recently, and built this little prototype app to put together what I learned after around a year: https://lofi-productivity.herokuapp.com/
And I wanted to go deeper with rails because I enjoyed coding with Ruby as I seemed to be more productive with it than with react, and I wondered if some people could recommend useful (and recent) resources for learning hotwire please :)
2 comments
[ 3.1 ms ] story [ 17.5 ms ] threadThere's the Modern Frontend Dev for Rails book. It's been rewritten to cover Hotwire but still includes a lot of stuff on traditional WPA style frontends. That's useful but I was definitely more interested in a progressive enhancement Hotwire approach based around Stimulus and Rails View Components.
I'm sure you must be aware of the Stimulus Handbook but I'll mention it anyway[2]. Also [3].
Depending on your level you could also try https://www.hotrails.dev/
1. https://pragprog.com/titles/nrclient2/modern-front-end-devel...
2. https://stimulus.hotwired.dev/handbook/introduction
3. https://www.stimulus-components.com/
I had also came across this which could be useful: https://store.afomera.dev/learn-hotwire