News for hackers. Stuff that matters.

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 | 6 points | on HN )
Re:Ask HN: What are the best places to learn Rails' hotwire by Lio on Wednesday August 03, 2022 @12:43PM (#32333994)
This 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/

1. https://pragprog.com/titles/nrclient2/modern-front-end-devel...

2. https://stimulus.hotwired.dev/handbook/introduction

3. https://www.stimulus-components.com/

Re:Ask HN: What are the best places to learn Rails' hotwire by AlexandruGlv on Saturday August 06, 2022 @08:01AM (#32367322)
Thank you Lio! :)

I had also came across this which could be useful: https://store.afomera.dev/learn-hotwire