Re:Things you forgot because of React
by text0404 on Tuesday August 15, 2023 @08:25PM
(#37141180)
so you'd prefer that there was only one state management solution for every webapp? what if i don't need 99% of the features of this monolith library?
[ Parent
| on HN ]
Seriously, try Svelte. See how its Stores API works. For bonus points, look at the Context API. Between Stores, Context, and what looks like plain ole JS in the component, state management is a solved problem. With all due respect, calling it a "monolith" out of hand just screams you haven't even looked at solutions and don't know what you're talking about.
SolidJS stores work the same.
In other words, this is basically a solved problem unless you live in the React ecosystem.