rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.91k stars 862 forks source link

Redux Persist ignores any nested persistor #1379

Closed ksielyov closed 2 years ago

ksielyov commented 2 years ago

` const persistConfig = { key: 'root', storage: AsyncStorage, whiteList: ['auth', 'restaurants'], };

const menuProductsPersist = { key: 'menuProducts', storage: AsyncStorage, blacklist: ['error'] } const rootReducer = combineReducers({ ... menuProducts: persistReducer(menuProductsPersist, menuReducer), ... });

In fact it is ignoring rules of no caching key "error" `

ksielyov commented 2 years ago

It was error from my side. Previous developer was incorrectly configured persistor whiteList: ['auth', 'restaurants']