Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add reducer compatibility #47

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

timothychin
Copy link

@timothychin timothychin commented Jan 5, 2021

Happy new year!

I would love for this library to also handle reducer use cases. This MR also closes issue #3.

I added support for reducer as a second argument in the return function from createPersistedState. Thank you for your consideration and please let me know if you'd like me to make any changes. With your approval, I will also add tests and docs.

  • add code
  • add test
  • add doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant