dai-shi / react-hooks-global-state

[NOT MAINTAINED] Simple global state for React with Hooks API without Context API

Home Page:https://www.npmjs.com/package/react-hooks-global-state

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: how do developers use this library?

dai-shi opened this issue · comments

Hi, I would like to ask how people use this library.

Honestly, I would like to drop some features of this library eventually before hitting v1.
It will not happen soon. I will probably wait and see how observedBits is kept or not in React 17.

My two concerns are:

  1. Redux DevTools support is very limited
  2. Redux middleware support is very limited

I would suggest the following paths to my other projects.

  • For those who want to use Redux ecosystem 👉 reactive-react-redux or the official React Redux hooks.
  • For those who use complex states with reducer pattern 👉 react-tracked

For those who want a simple solution for a small state (less than 31 properties flat), continue using this library!

#35
Just started working toward v1. We no longer use context and observedBits but still provide the same hooks API.
Closing this.