An Introduction To Stimulus.js — Smashing Magazine
23-Jul-2020 2435
The web moves pretty fast and picking an approach for your frontend that will feel sensible in a year’s time is tricky. My biggest fear as a developer is picking up a project that hasn’t been touched for a while, and finding the documentation for whatever approach they used is either non-existent or is not easily found online.About a year ago, I started using Stimulus and I felt really happy about the code I was shipping. It’s a ~30kb library which encourages small reusable sprinkles of JavaScript within your app, organized in such a way that it leaves little hints in your accessible HTML as to where to find the JavaScript it’s connected to. It makes understanding how a piece of JavaScript will interact with your page almost like reading pseudocode.
An Introduction To Stimulus.js — Smashing Magazine #ruby #rubydeveloper #rubyonrails #Introduction #Stimulus.js #Smashing #Magazine #stimulus.js https://rubyonrails.ba/link/an-introduction-to-stimulus-js-smashing-magazine