Skip to content

v3 changelog & RFC #72

Closed
Closed
@rt2zz

Description

@rt2zz

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 calls getStoredState and createPersistor
  • 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions