Stimulus — Complete Guide
In this tutorial, you'll learn about Stimulus. We cover key concepts, practical examples, and best practices to help you understand and apply this topic effectively.
Stimulus is a modest JavaScript framework that works with server-rendered HTML. It enhances static HTML with behavior through controllers, targets, and actions, making it ideal for projects using Hotwire or traditional server-side frameworks.
In This Section
- Getting Started — Controllers, targets, actions, and basic setup
- Lifecycle & State — Controller lifecycle callbacks and state management
- Cross-Controller Communication — Events, outlets, and shared state
- Real-World Patterns — Forms, modals, Infinite Scroll, and Lazy Loading
Published Topics
All 14 topics in Stimulus — Complete Guide are published.