Stimulus 3 + Turbo 7 = Hotwire 1.0

world.hey.com
3 min read
easy
For so long, it felt like I could only tell half the story of how we make software for the web at Basecamp. Too many of the chapters about our front-end approach were missing key pages. Sure, we had some of it out there. Turbolinks, for example, hark back to 2012, when I was inspired by Chris Wanstrath's ideas in pjax, and took them fu...
For so long, it felt like I could only tell half the story of how we make software for the web at Basecamp. Too many of the chapters about our front-end approach were missing key pages. Sure, we had some of it out there. Turbolinks, for example, hark back to 2012 , when I was inspired by Chris Wanstrath 's ideas in pjax , and took them further. And Stimulus can trace its origin to the Christmas 2016, when I spiked the first concept in an attempt to unify all the JavaScript patterns we had in Basecamp. But it was never... complete. Now it is. Turbo 7 paint the full picture of how my ideal stack for front-end development should look under the umbrella of Hotwire 1.0 . This is how we're building Basecamp 4 . This is how we built HEY . Now it's going to be the default answer to JavaScript in Rails 7 together with the new import-map approach. All the missing pages are being printed.The story is getting out there, too. Three or four years ago, all anyone seemed to be focused on was building single-page applications with ever more complicated bundling pipelines and component frameworks. Babel me this, Webpack me that, React all the things. Today, less so.If we start backwards, React's hegemony has splintered into a bunch of…
Read full article