|
|
|
|
|
by phaedryx
519 days ago
|
|
I think the idea of "sprinkling" JavaScript into your server-rendered HTML is a good one. However, I think that Stimulus is terrible. 1. There isn't a good way to test it. There is nothing in the docs about how to test it. 2. Keeping state in the DOM is dangerous 3. Messaging between Stimulus controllers is painful 4. They disconnect parameters from functions. The functions have to scan through the DOM to find what they need which I think is fundamentally weird 5. Reusability is rare 6. It doesn't try to play nice with the larger JavaScript ecosystem. I personally prefer Vue. |
|