Overview of Turbo features
mainTurbo is a library designed to reduce the amount of custom JavaScript required in web applications by sending HTML over the wire. It provides four primary mechanisms for enhancing web and mobile experiences:
- Turbo Drive: Accelerates navigation by intercepting link clicks and form submissions to replace full page reloads with AJAX requests, updating the browser history without a complete refresh.
- Turbo Frames: Allows you to decompose a page into independent, scoped contexts. Navigation within a frame is restricted to that frame, and frames can be lazily loaded.
- Turbo Streams: Delivers targeted page changes (via WebSocket or in response to form submissions) using HTML and a set of CRUD-like actions.
- Turbo Native: Enables web applications to power native iOS and Android apps, providing seamless transitions between web content and native UI components.