Re:Stimulus.js 2.0
by danjac on Sunday December 06, 2020 @05:11AM
(#25322482)
Yes but we're still going a long way from "just use React". One benefit of the "JS sprinkles" approach of Turbolinks+Stimulus is that you have a far simpler and more productive stack: Rails (or other framework) renders templates with some minimal JS on the frontend, as opposed to the inherent complexity of API + SSR + SPA. There are occasions when React is a good choice of course, but let's not underestimate the costs of the SPA architecture.
[ Parent
| on HN ]
Re:Stimulus.js 2.0
by davidjnelson on Sunday December 06, 2020 @08:16PM
(#25328400)
hey if stimulus and turbolinks are your jam then rock it!
I would at least give this a look though, it's super easy to use: https://github.com/shakacode/react_on_rails