DEV Community

Discussion on: What are the pros and cons of StimulusJS and AlpineJS?

drews256 profile image
Andrew Stuntz Author

Interesting. What are the backend changes that are happening??

bizzibody profile image
Ian bradbury

I'd say mainly in the use of a Gem and changing the location of code, stimulus code lives in it's own directory off of the Javascript directory. I really like that you add AlpineJS inline with your html - it makes for super readable code. With Stimulus I have to go hunting.

I'm ignoring the need for Yarn and Webpack as I have grown comfortable with these technologies, especially as they do seem to work. I know that I could use CDN's but I'd rather be in control and know exactly what is being served to users.