Writing better Stimulus controllers
04-Jun-2020 1531
In early 2018, Basecamp released StimulusJS into the world. Stimulus closed the loop on the “Basecamp-style” of building Rails applications.It’s hard to pin down a name for this stack, but the basic approach is a vanilla Rails app with server-rendered views, Turbolinks (“HTML-over-the-wire”, pjax) for snappy page loads, and finally, Stimulus to “sprinkle” interactive behavior on top of your boring old HTML pages.Many of the tenets of Basecamp and DHH’s approach to building software weave in-and-out of this stack:.
Writing better Stimulus controllers #ruby #rubydeveloper #rubyonrails #Writing #better #Stimulus #controllers #stimulus https://www.rubyonrails.ba/link/writing-better-stimulus-controllers