You can follow the HTML-over-the-wire approach as merely inspiration for your own tooling.
Watch the media attached to this tweet as we walk you through:
Our Hotwire STIMILUS doesn’t seek to take over your entire front-end. In fact, it’s not concerned with rendering HTML at all. Instead, it’s designed to augment your HTML with enough behavior to make it shine. Stimulus pairs beautifully with Turbo to provide a complete solution.
HotwireHTML is a web-first framework for building native mobile apps. It provides you with all the tools you need to leverage your web app and build great mobile apps. Stay tuned! ⚡️
Sprinkle your HTML with controller, target, and action attributes:
<!--HTML from anywhere-->
<div data-controller="hello">
<input data-hello-target="name" type="text">
<button data-action="click->hello#greet">
Greet
</button>
<span data-hello-target="output">
You can follow the HTML-over-the-wire approach as merely inspiration for your own tooling.
Watch the media attached to this tweet as we walk you through:
While Turbo usually takes care of at least 80% of the interactivity that traditionally would have required JavaScript, there are still cases where a dash of custom code is required. Stimulus makes this easy with a HTML-centric approach to state and wiring.
Follow HTML-over-the-wire approach merely as inspiration for your own tooling, or use:
Hotwire designed frameworks created by the team at @37signals & @heyhey to power. (https://t.co/ebGcleHDME)
Together complimenting eachother to give you THE solution across all platforms! ⚡️
At the heart of Hotwire is Turbo —
a powerful set of techniques designed to:
- Speed up page changes and form submissions
- Divide complex pages into manageable components
- Stream partial page updates over WebSocket
All without writing any JavaScript at all. ⚡️