Hacker News new | ask | show | jobs
by simongray 2229 days 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.

1 comments

You 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