Turbo
- https://guides.rubyonrails.org/working_with_javascript_in_rails.html#turbo
- https://turbo.hotwired.dev/
Components:
- Turbo Drive: navigate to different pages without a full page refresh
- Turbo Frames: update only a portion of a page
- Turbo Streams: update only a portion of a page in an HTTP response or web socket
Turbo Drive
- Disabling for a link:
data-turbo=“false” - Ensuring JS/CSS changes force a full page refresh:
data-turbo-track="reload"
Turbo Frames
- `…
- Links and form submissions inside it will attempt to update only the form
Slapdash