Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not GP, but I would say, it’s the same reason someone would use React. If you keep you state in a single place, the rest of the app can become very functional and pure. You receive data and tranform it (or render it). The actual business logic that manipulate the state can be contained in a single place.

This reduces a lot of accidental complexities. If done well, you only need to care about the programming language and some core libraries. Everything else becomes orthogonal of each other so cost of changes is greatly reduced.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: