3 ms·
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. A
by adenta 2y ago
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.
- sosodev 2y agoIf 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.
- _3u10 2y agoStimulus is to Vite as vite is to react. The point is to do more stuff server side with minimal JS.