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

How to use Redux Devtools Extension

hug0b opened this issue · comments

The README specifies

Redux middleware support to some extent

Some of libraries in Redux ecosystem can be used.
Redux DevTools Extension could be used in a simple scenario.

But I am not sure how to connect it to the store, could you provide an example ?

Currently, there's only one example. Please check out examples/08_thunk.

@dai-shi I can't use it in Next JS. It say windows of undefined.

@rimsila Thanks for reporting it. I would need someone to help with this.
Note: the devtools support is pretty hacky and limited. It might not work in some complex cases. But, the undefined error could be fixed.