> it might be better to just be a standalone library
See: https://github.com/reduxjs/redux, among others.
The React ecosystem did exactly this for the past few years, but evidently it was decided that a more native approach like hooks were better.
See: https://github.com/reduxjs/redux, among others.
The React ecosystem did exactly this for the past few years, but evidently it was decided that a more native approach like hooks were better.
Coming from the backend, I miss something like the effect system builtin in Haskell/Purescript or added as a library to languages like Scala (e.g. https://typelevel.org/cats-effect/) or Kotlin (e.g. https://arrow-kt.io/docs/effects/io/)
Personally, any time anybody has ever suggested using redux I have always fought it. I've never seen the news for a global state management library, since react has always had tools to manage state built in.