4 ms·
We're currently using a combination of Intercooler, Stimulus, and React components in our MPA depending on the interactivity and complexity needs of each compon
by mands 7y ago
We're currently using a combination of Intercooler, Stimulus, and React components in our MPA depending on the interactivity and complexity needs of each component in question - so we're certainly not in the SPA camp.
However having listened to the Full Stack Radio episode and trying Alpine out, I'm not convinced on writing interdependent JS fragments in HTML attributes.
For our team Stimulus feels more robust - store state in the DOM, which then calls full JS/TS classes to do the computation - keeping the separation of concerns intact. We can also make use of Typescript typing, linting, and bundling of our Stimulus controllers, and test the behaviour more easily.
Exciting to see more options in the non-SPA world tho!