4 ms·
> What is it about React that state management is such a such a hassle? I'm not sure it's a hassle, just different schools of thought. > This is not the case
by simongray 6y ago
> What is it about React that state management is such a such a hassle?
I'm not sure it's a hassle, just different schools of thought.
> This is not the case in other frameworks.
None of the examples you mention are reactive AFAIK. The point of React is that the UI is a function of the state. How exactly that is accomplished is where those different schools of thought come into the picture.
- flowerlad 6y agoYou can use React with traditional MVC to get the benefits you mention and still avoid state management hassle. Here's one such lib: https://www.npmjs.com/package/mvc-router-spa https://www.npmjs.com/package/mvc-router-spa