An Opinionated Collection of StimulusJS Best Practices
Unfortunately, the official docs lack clear guidelines and best practice examples. Thus, this guide tries to present advice for newcomers and intermediate Stimulus programmers.
Covered topics include:
- Integrating Libraries
- With rails-ujs
- With Turbolinks
BetterStimulus is accompanied by
- Stimulus Toolbox - a searchable, curated repository of useful Stimulus controllers, articles etc. (by @hopsoft)
Take a look at https://github.com/julianrubisch/better-stimulus for ways to contribute and/or discuss content.