You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want the entriesPerDay, the pickedDate and the pickedEntry to have their default values when the app starts. That's the most important thing. If possible, I'd like to rehydrate ONLY the serverCopy and the workingCopy. Here is the code of my store configurations:
I had a similar issue just now. using the actual reducer object rather than a string seemed to do the trick. try passing entriesReducer instead of 'entriesReducer'
another update. I'm having better luck just sticking to whitelists with createFilter and forgetting about blacklists. And gone back to using the string for the reducer rather than the object itself. Working well.
Did you manage to solve this with blacklists? I'm having the same issue. The createBlacklistFilter simply doesn't work. The README.md also says to use persistStore to pass the filter, but that's an invalid property. I suppose it should be in the persistCombineReducers's config... ?
Hello,
I'm running into troubles trying to blacklist a part of my reducer.
here is my entriesReducer's initial state:
I want the entriesPerDay, the pickedDate and the pickedEntry to have their default values when the app starts. That's the most important thing. If possible, I'd like to rehydrate ONLY the serverCopy and the workingCopy. Here is the code of my store configurations:
When I reload the app everything in the entriesReducer gets rehydrated. Why would that happen?
The text was updated successfully, but these errors were encountered: