Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocs Explanation of CreateTransform is Confusing #1151
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hello!
I was reading through the ReadMe and it was a little unclear how it worked. I thought, at first, that the inboundState and outboundState would be the entire state (the entire redux state tree). However, after trying to debug things and finally deciding to just look at the code I realized that it actually only takes in a sub-section of the state. If I understand things correctly, it only takes the state related to the reducers specified in the whitelist property and transforms this.
redux-persist/src/getStoredState.js
Lines 30 to 33 in d7efde9
I found this from here.
I think it would be helpful to specify this.