mst-persist icon indicating copy to clipboard operation
mst-persist copied to clipboard

data not save when use blacklist or whitelist

Open vfa-khuongdv opened this issue 3 years ago • 0 comments

When i add blacklist or white list, the data cannot save in local storage.

persist('@user', UserModel, {
  storage: AsyncStorage,
  jsonify: true,
  blacklist: ['state'] // IT will not save data
}).then(() => console.log('someStore has been hydrated'))

vfa-khuongdv avatar Dec 16 '21 14:12 vfa-khuongdv