Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Implement compatibility with Redux Persist #3

Merged
merged 2 commits into from
Feb 15, 2020
Merged

Conversation

emeraldsanto
Copy link
Owner

This PR introduces some breaking changes:

Naming

  • store was renamed to setItem
  • retrieve was renamed to getItem
  • remove was renamed to removeItem

Functionality

  • getItem now only returns the stringified data instead of parsing it, to be compliant with other storage libraries
  • Modified tests to use new function names

@emeraldsanto emeraldsanto merged commit c78e295 into dev Feb 15, 2020
@emeraldsanto emeraldsanto deleted the redux-persist-compat branch February 15, 2020 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant