Skip to content

use configureStore in README#1377

Open
phryneas wants to merge 1 commit intort2zz:masterfrom
phryneas:pr/README-configureStore
Open

use configureStore in README#1377
phryneas wants to merge 1 commit intort2zz:masterfrom
phryneas:pr/README-configureStore

Conversation

@phryneas
Copy link
Copy Markdown

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

@phryneas
Copy link
Copy Markdown
Author

phryneas commented Jun 8, 2022

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

@yestay90
Copy link
Copy Markdown

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.

2 participants