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

use configureStore in README #1377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phryneas
Copy link

Since redux 4.2.0, createStore is deprecated in favor of configureStore. This updates the README to use the recommended function.

@phryneas
Copy link
Author

phryneas commented Jun 8, 2022

Could you please get this merged? It's just a (really necessary) docs update.

@yestay90
Copy link

yestay90 commented Jun 9, 2022

@phryneas , thanks for your PR. I had problem with persistStore which threw error max calls stack exceeded . The problem was I set persistStore inside of function and exported function. Later, I used that function inside of useEffect when app loads. After looking at your PR I realized that instead exporting function, I need to export variable. And this solved my error! I feel happy now)) Thanks a lot.

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

Successfully merging this pull request may close these issues.

None yet

2 participants