Refactor legacy jQuery spaghetti into a clean, testable Stimulus controller with explicit targets and lifecycle hooks.
The Cost of Prototyping
Reflections on the hidden cost of prototyping in software — when quick experiments become permanent technical debt.
Stimulus.js Tutorial: Interactive Deletes with Rails UJS
Use Stimulus.js with Rails UJS to delete records interactively and remove rows from the DOM without a page reload.
Stimulus + ActionCable + ActiveJob: Loading Asynchronous API Data
Load slow third-party API data asynchronously in Rails using Stimulus, ActionCable, and ActiveJob.
Leaving Breadcrumbs in your Progressive Web App with Stimulus.js
Track navigation history in a Rails PWA using a Stimulus controller and the service worker cache for offline breadcrumbs.
Loading and Templating JSON Responses in Stimulus.js
Fetch JSON from a Rails API endpoint inside a Stimulus controller and render the response using a client-side template.
Subscribing to many channels in ActionCable
Subscribe to multiple ActionCable channels dynamically from a single Stimulus.js controller.
Easy PWAs the Rails way
Add PWA capabilities to any Rails app with minimal setup — web manifest, service worker, and offline support.
Grabbing ActionCable with Stimulus.js
Use Stimulus.js to manage ActionCable connections in your interactive web app.
Build a Markdown Editor in Stimulus.js like in Vue.js
Build a live-preview markdown editor in Rails with Stimulus.js, achieving the same result as a Vue.js component.