Hotwire
lastmod 2020-12-28created 2020-12-282 edits
Features
- An approach to building modern web pages by sending HTML directly instead of sending JavaScript and JSON
- Used in the frontend of the email service Hey
Turbo + Stimulus + Strada
- Turbo : The core of Hotwire. A collection of techniques for building fast web apps
- Turbo Drive : Converts every a link click and form submit into a fetch, reads from the server, and replaces the body. Makes it behave like an SPA
- Turbo Frames : Splits complex pages into frames that are loaded and rendered individually. Similar to iframe, but virtual frames handled within a single DOM
- Turbo Streams : Streams page changes over Websocket
- Turbo Native : Lets the Turbo approach be used in iOS/Android hybrid apps