dai-shi / react-hooks-global-state

[NOT MAINTAINED] Simple global state for React with Hooks API without Context API
https://www.npmjs.com/package/react-hooks-global-state
MIT License
1.1k stars 62 forks source link

support state branching #31

Closed dai-shi closed 4 years ago

dai-shi commented 4 years ago

https://github.com/dai-shi/will-this-react-global-state-work-in-concurrent-mode shows react-hooks-global-state v0.16.0 fails with "check 7: proper branching with transition".

This change hopefully fixes it.

dai-shi commented 4 years ago

It worked as expected. ☺️