Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could Redux be separate from kea? #137

Closed
peacecup opened this issue Aug 9, 2021 · 1 comment
Closed

could Redux be separate from kea? #137

peacecup opened this issue Aug 9, 2021 · 1 comment

Comments

@peacecup
Copy link

peacecup commented Aug 9, 2021

if kea can store the state ,and choose to store into other stateStore,it will be more flexible , and can adapt more Scenes

@mariusandra
Copy link
Member

Kea is very directly using Redux, including providing hooks for kea plugins to use before, during and after creation of the redux store. Thus it's not really possible to use a separate Redux store from Kea. The createStore argument to resetContext does provide a way to add regular redux middleware and enhancers to the created store, and that has usually been good enough for a migration.

Hope I understood the intent behind the question correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants