Skip to content

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

2 participants