In this episode, I’ll show you how to return a Turbo Stream response from a controller action, to live update your page without redirecting or re-rendering the entire content. To make the user experience better, we’ll also animate the background of the new content so it blinks onto the page and makes it obvious that something changed.

Discussion (0)

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

Unlock 7 Hotwire tricks every Rails dev should know ⚡️

Level up your Rails skills with 7 powerful Turbo techniques in my free Hotwire Cheatsheet. Subscribe for updates on new videos, courses & more — no spam, just gems.