Closed
Description
Breaking changes
autoRehydrate
no longer implement an action buffer. It was too automagical and caused some bugs with dispatch return values. Updgrade path: implement redux-action-buffer
Other changes of note
- new
createPersistor
method that handles subscribing to the store and persisting to the storage engine. - under the hood
persistStore
now simply callsgetStoredState
andcreatePersistor
getStoredState
now support promises- localForage support through aliasing
keys
->getAllKeys
createTransform(inbound, outbound, {whitelist, blacklist})
method- pass key to transforms (enabling whitelist/blacklist above)
- add preloaders config which get run before getStoredState and allow for advanced plugins like redux-persist-migration
todo
- consider "lazy" loading
Metadata
Metadata
Assignees
Labels
No labels