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.

Discussion (0)

To comment you need to sign up for a free account or sign in.

Get new videos in your inbox weekly!

Be the first to hear about new courses and videos launching. You’ll only receive relevant news, no spam.