title | nav_order |
---|---|
Home |
1 |
An Opinionated Collection of StimulusJS Best Practices
StimulusJS, the modest JavaScript framework by Basecamp is gaining widespread traction. It powers Basecamp and HEY, among others, and is a natural choice for Rails developers. That said, it fits any codebase that embraces server-side generated HTML and lightweight JS sprinkles.
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:
Get updates when new articles are posted:
Please select all the ways you would like to hear from :
EmailYou can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.
We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.
This site is maintained by Julian Rubisch, Stimulus Reflex core team member and senior Rails developer. A range of enthusiast volunteers helps keeping articles up to date and quality-assured.
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.