What is the recommended way to persist Immutable js state with the new API?
kiranp11 opened this issue · 2 comments
kiranp11 commented
Hello,
I'm using the "redux-localstorage": "^1.0.0-rc4". What is the recommended way to handle serialisation/deserialization of a Immutable js state with the new API?
Is there any thing similar to config, that gave an handle to achieve this in the older API?
Thanks in advance
Kiran.
jakelazaroff commented
I wrote an enhancer that allows you to do this! https://www.npmjs.com/package/redux-localstorage-immutable
Let me know how it works 😁
elgerlambert commented
Hi @kiranp11,
A storage enhancer would definitely be the way to go about this. Looks like @jakelazaroff already took care of this! I also saw you already added it to the wiki, much appreciated! Thanks!