elgerlambert / redux-localstorage

Store enhancer that syncs (a subset) of your Redux store state to localstorage.
MIT License
1.32k stars 107 forks source link

Code should not touch DOM if it's not called #19

Closed steida closed 8 years ago

steida commented 8 years ago

https://github.com/elgerlambert/redux-localstorage/blob/1.0-breaking-changes/src/persistState.js#L6

This makes lib unusable in server.

elgerlambert commented 8 years ago

Hi @steida, thanks for reporting the issue.

Some discussion has already taken place in relation to this issue. I'd like to refer to you to #13 incase you have something you'd like to add to the discussion. I'll be setting some time aside this week to resolve this and other issues.

steida commented 8 years ago

I switched to https://github.com/michaelcontento/redux-storage, seems to have better api and functionality.