Symfony UX: Stimulus
Build better JavaScript interfaces faster with Symfony UX. Stimulus, a powerful JavaScript library, enables server-side HTML rendering. Learn controller basics, manage state, and explore free Stimulus libraries. Enhance your app with React, Vue, or other frameworks. Get ready to give your site a SPA feel with Turbo!
What you’ll be learning
Symfony UX is all about helping you build better JavaScript interfaces faster.
The first piece of UX is Stimulus: a JavaScript library built around the idea that your server should return HTML. Stimulus gives you the ability to add JavaScript to any part of your page in an object-oriented way that you will love:
Installing Stimulus & the Stimulus Bridge
Stimulus controller basics & “instances”
Adding targets and using actions
Replacing a select element with a JS-powered color selector
Managing “state”
Stimulus values API
Free Stimulus libraries! stimulus-use and stimulus-components
The UX PHP packages: building chart.js in PHP!
Using React, Vue or some other frontend framework
Laziness: loading controllers lazily
By the end, you’ll be able to build anything on your site with Stimulus. And once you have, you’ll be ready to give your app a SPA (single page app) feel with Turbo!


There are no reviews yet.