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

For issue-33 #34

Closed dai-shi closed 4 years ago

dai-shi commented 4 years ago

~Trying to fix #33.~

This add a spec for issue #33. We are not 100% sure if we keep this capability forever though. (It will be in v1, but may not be in v2.)

dai-shi commented 4 years ago

The test passed because in v1, CM support is opt-in by useGlobalStateProvider.