- [Narrator] Today's frameworks and libraries generally add a lot of syntax to work with our HTML and it's behaviors. If you try to build a simple webpage, or prefer using simple syntax to add some events and behaviors to your web project without using the big frameworks available, Stimulus might just be the right library for you. In this course, we'll explore the simple syntax around Stimulus and how it helps you build small projects in no time with very little code. Hi, I'm Eny Henri, and I'm always exploring new libraries and frameworks to discover simpler ways to work with the web.
It'll be my pleasure to introduce you to Stimulus. We'll first go over a quick introduction of why would you want to use Stimulus and the set up of our initial project. Then we'll move into the basics by exploring controllers and identifiers. Next, we'll explore actions and events, and how they relate to the Dom and Stimulus. And finally, we'll explore how to work with a state in Stimulus. If you're ready to explore how to work with Stimulus, open up your favorite editor, and let's get started.
- Why use Stimulus?
- Adding and using controllers
- The role of identifiers
- Using targets and actions
- Working with the state in Stimulus
- Persisting the state in the DOM