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

using this removes my keys from store completely #24

Closed
jasan-s opened this issue May 27, 2019 · 1 comment
Closed

using this removes my keys from store completely #24

jasan-s opened this issue May 27, 2019 · 1 comment

Comments

@jasan-s
Copy link

jasan-s commented May 27, 2019

So my initial state of store is like so:

reducerA: {
a: null,
b: null,
c: {}
}

if i use this to create a BlackList

createBlacklistFilter('reducerA', [
  'c',
])

Then Right after persist/REHYDRATE fires my store is updated to :

reducerA: {
a: null,
b: null,
}

I thought the intended goal was to not persist certain keys but still have the store fallback to initial state. AM I doing something wrong?

@jasan-s
Copy link
Author

jasan-s commented Jun 7, 2019

this worked #17 (comment)

@jasan-s jasan-s closed this as completed Jun 7, 2019
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

No branches or pull requests

1 participant