我使用redux的每个人谢谢
发布于 2018-09-14 21:39:49
在redux持久化配置中,可以根据需要添加whitelist或blacklist。这些都是你想要包含的状态数组(白名单)或忽略状态(黑名单)。
例如:
const persistConfig = {
key: 'root',
blacklist: ['state-not-to-be-persisted']
}https://stackoverflow.com/questions/52339321
复制相似问题