Hacker News new | past | comments | ask | show | jobs | submit login
Stimulus-use: collection of composable behaviors for Stimulus Controllers (github.com/stimulus-use)
18 points by klaussilveira 20 days ago | hide | past | favorite | 4 comments



As a die hard rails developer, can someone sell me on Stimulus?

I'm just now exploring turbo frames and I don't quite get the benefit. I use rails with vite. API endpoints are mounted under `/api/v1`, and frontend routes are all funneled through react-router.


If you're using a javascript frontend like React there is no real benefit of Stimulus. Even with turbo frames you can have React handle the updates.

Stimulus is just a minimalistic way of binding javascript classes to dynamic dom components.


Stimulus is to Vite as vite is to react. The point is to do more stuff server side with minimal JS.


once again - proves you can't escape from js frameworks. if anyone has used stimulus you realize you're slowly making your own miniframework with turbo streams etc.

stimulus is cool, if you know you gonna have less than 5 js stimulus controllers.

Rails is still unmatched in terms of productivity for API mode.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: