From the course: Hotwire: Reactive Ruby on Rails Applications

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Turbo Streams overview

Turbo Streams overview

- [Instructor] The main difference between Turbo Streams and Turbo Frames is that they allow to update different parts of the page at the same time, but not only the content of a container can be updated. You can also append, prepend, replace, remove and add content before an HTML element or after. In addition, Turbo Streams allows you to connect multiple browsers to the page via web sockets and to broadcast the updates to all of them. Turbo does this using Action Cable under the hood.

Contents