2 hours ago · Tech · hide · 0 comments

In 2021, Rails 7 rewrote its frontend story with Turbo and Stimulus, promising SPA-like user experience from the comfort of Ruby on Rails. This announcement, bundled together as Hotwire, cited HEY as an adopter: You can follow the HTML-over-the-wire approach as merely inspiration for your own tooling, or you can use these Hotwire designed frameworks created by the team at 37signals to power HEY. Here we are, five years later, and DHH announces that HEY is migrating its backend to Rust and building native apps for iOS and Android. Stimulus hasn't seen a release in over three years. It's time to move on. What should you move to? Web Components. Rebuilding the handbook I think the best argument is to jump straight into the code. The following example is from Building Something Real in the Stimulus handbook. Here's the Stimulus version. First the HTML template: <div data-controller="clipboard"> PIN: <input data-clipboard-target="source" type="text" value="1234" readonly /> <button…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.