Open taboca opened 6 years ago
I'll admit that I was lost at what to do here. However, your import of "storeConfig"
needs clarification, too!
Should <Provider>
really be the parent of <PersistGate>
? Thought it would be the other way round, from the docs.
Hi , I noticed this is an issue so I updated the readme. I just made a PR https://github.com/rt2zz/redux-persist/pull/917
Notice a bug with a lot of people trying to get the destructuring right based on the fact that this lib uses the configStore to return an object with two objects inside.
Perhaps the main readme could also show how would the import look like for the "App.js"
The section, to be patched would be this: