Answers for "prevent specific state redux-persist"

0

prevent specific state redux-persist

// backlist your reducer, 
combineReducer({
	isLoggingIn,
	...
})

const persistConfig = {
  key: 'auth',
  storage: storage,
  blacklist: ['isLoggingIn']
};
Posted by: Guest on January-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language