Advanced Turbo Streams in Hotwire
Related videos
In this episode, I show you how to create custom Turbo Stream responses from controllers and custom broadcasts over the wire using Action Cable. This really unlocks the power of Hotwire, and composing these together will help you build truly interactive applications easily!
🚨 Just a heads up, when taking something like this into production, remember to put the current users ID, or the ID of the payment into the turbo_stream_from
channel name, to make sure you're only broadcasting the info to the specific user.