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 a configuration example for Immutable.js #56

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

Conversation

NameFILIP
Copy link

For #49

@TeemuKoivisto
Copy link

Cool stuff and I wondered why there was no immutable example on this repo (probably because it's unmaintained?). The PR #57 is way too convoluted for my liking and this one is all good except I had to change this:

merge: (initialState, persistedState) => initialState.mergeDeep(persistedState),

To this:

merge: (initialState, persistedState) => new Map(initialState).mergeDeep(persistedState)

For it to work.

Perhaps the maintainers of this repo will merge this someday although I am not too hopeful.

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.

2 participants