TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Learn Hotwire by building the simplest Ruby on Rails and Hotwire app possible

3 pointsby hbroadbentalmost 2 years ago

1 comment

hbroadbentalmost 2 years ago
For a long time, I held off using Hotwire in my Rails apps, because I didn&#x27;t understand it, and because I found the official documentation hard to digest.<p>So I decided to write the guide I wish I had when I was learning Hotwire.<p>The sample app we build isn&#x27;t pretty, but it&#x27;s the simplest possible app I could come up with to help illustrate all the different parts of Hotwire, and how they link together.<p>By the end of the guide, you&#x27;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.<p>I hope you find this resource useful! If you can think of any improvements share them with me. I&#x27;m also happy to answer any questions you might have.
评论 #36124246 未加载