Stimulus is, in many ways, the opposite of other modern frameworks available today. Here is what creators have to say about it:
It doesn’t seek to take over your entire front-end—in fact, it’s not concerned with rendering HTML at all. Instead, it’s designed to augment your HTML with just enough behavior to make it shine. (c)
This repository aims to showcase what is possible with this approach and link any other helpful content for your modest JS journey.
- betterstimulus.com: Better Stimulus - An opinionated collection of StimulusJS best practices.
- onrails.blog: StimulusJS Tutorials - One man journey to StimulusJS written down in form of tutorials (with demos and code). My favorite:
- jorgemanrubia.com: Form validations with HTML5 and modern Rails
- chrislabarge.com: Color Picker with Rails + Stimulus - Install a Color Picker node module with Webpacker and use it with a Stimulus Controller.
- shime.sh: Testing StimulusJS - Testing was never covered in official documentation, this is an interesting alternative approach.
- honeybadger.io: How We Migrated To Turbolinks Without Breaking JavaScript
- mccollester.com Using StimulusJS for Type-ahead Search
- cloudsh.com: StimulusJS and Shopify API; Making a Cart
- gorails.com: guides, screencasts, and tutorials - Premium content, covers everything one needs to know about StimulusJS in an easily digestible video format (with code, demos and text as well).
- Stimulus JS Framework Introduction
- Stimulus JS Twitter UI: Part 1
- Stimulus JS Twitter UI: Part 2
- Dynamic Nested Forms with Stimulus JS
- Drag and Drop sortable lists with Rails & Stimulus JS
- Google Maps and Google Places Autocomplete API with Rails, Turbolinks, and Stimulus.js
- Introduction to Stimulus Reflex
- boringrails.com: Writing better Stimulus controllers - Excellent article that shows the common failure paths when working with Stimulus and how you can improve your controllers by keeping them small, generic, and composable.
- The Changelog: JavaScript sprinkles in Basecamp turned Stimulus - David Heinemeier Hansson joined the show to share the story of how JavaScript sprinkles in Basecamp evolved into a full-fledged framework called StimulusJS.
- Full Stack Radio: DHH - Stimulus in Practice + On Writing Software Well - In this episode, Adam talks to David Heinemeier Hansson about Basecamp's new JavaScript framework "StimulusJS" as well as David's new YouTube series "On Writing Software Well".
- Ruby Rogues: Stimulus - The panelists talk about different use cases for StimulusJS, how it works, and how it can help your project.
- Code with Jason: Stimulus and Webpacker with Noel Rappin - Noel Rappin talks about Webpack, Webpacker, and StimulusJS.
- StimulusReflex - Phoenix Liveview based on modern rails.
- stimulus-flatpickr - A Wrapper for Flatpickr library.
- tailwindcss-stimulus-components - A set of StimulusJS components (tabs, dropdowns, modals, toggles, autosave, etc) for TailwindCSS users.
- stimulus-validation - Validation controller for StimulusJS.
- stimulus-autocomplete - StimulusJS autocomplete component.
- stimulus-tabs - A simple tabs controller for StimulusJS.
- stimulus-data-bindings - One-way data binding controller for StimulusJS.
- stimulus-conductor - An optionated StimulusJS Controller to easily manage parent/children controllers.
- stimulus-rails-ujs - Rails UJS bindings for StimulusJS.
- stimulus-sticky-table-header - Sticky Table Header Controller Using StimulusJS.
- stimulus-inline-edit - A StimulusJS controller to add inline edit to Rails-powered input fields.
- stimulus-form-utilities - A set of small form utility helpers built with Stimulus.
- stimulus-stripe-elements - A StimulusJS controller to add Stripe.js and Elements to your page.
- stimulus-getaddress-io - Getaddress.io controller for StimulusJS.
- stimulus-toggle-util - A simple toggle utility controller to hide/show elements on click.
- stimulus-image-grid - A StimulusJS controller for beautiful image grids.
- stimulus-use - A collection of composable behaviors for your StimulusJS Controllers.
- ModestJS E-Book - A short ebook for those who want to write modest JavaScript.
- Black Candy - A self hosted music streaming server. Biggest open source rails app done with StimulusJS.
- Sjabloon-lite - Modern Rails starter kit (includes StimulusJS).
- Trimmings - Set of patterns that allow you to add DOM manipulation by adding data-trimmings-* attributes.
- Turbolinks - Turbolinks makes navigating your web application faster and pairs perfectly with StimulusJS.
- jquery-events-to-dom-events - Pick up legacy jQuery "events" using DOM event listeners.