News for hackers. Stuff that matters.
Re:React has grown beyond its original promise and it's caus... by agos on Friday February 09, 2024 @03:51AM (#39312824)
even with completion it's a lot of busywork: define actions, reducers, etc for every state change
Re:React has grown beyond its original promise and it's caus... by pseudocomposer on Friday February 09, 2024 @06:25AM (#39313740)
If you use TypeScript and Thunk, it’s no more work than writing your own state management code on plain JS/TS objects. But you get all the advantages of Redux (dev tools, introspection, replayability, easy persistence and tab sync, etc).