Learn Hotwire by building the simplest Ruby on Rails and Hotwire app possible
monn.app
monn.app
So I decided to write the guide I wish I had when I was learning Hotwire.
The sample app we build isn't pretty, but it's the simplest possible app I could come up with to help illustrate all the different parts of Hotwire, and how they link together.
By the end of the guide, you'll know how to use `turbo_stream_from`, `broadcasts_to` and `turbo_frame_tag` to build a live frontend — all done with Hotwire, no extra JS required.
I hope you find this resource useful! If you can think of any improvements share them with me. I'm also happy to answer any questions you might have.
This is so relatable!