3 ms·
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 :)
- Lio 4y agoThis is a good question IMHO, I'd love to know the answer myself. There'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/ https://www.hotrails.dev/ 1. https://pragprog.com/titles/nrclient2/modern-front-end-development-for-rails-second-edition/ https://pragprog.com/titles/nrclient2/modern-front-end-devel... 2. https://stimulus.hotwired.dev/handbook/introduction https://stimulus.hotwired.dev/handbook/introduction 3. https://www.stimulus-components.com/ https://www.stimulus-components.com/
- AlexandruGlv 4y agoThank you Lio! :) I had also came across this which could be useful: https://store.afomera.dev/learn-hotwire https://store.afomera.dev/learn-hotwire