-
Notifications
You must be signed in to change notification settings - Fork 129
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
Added react-router + redux-localstorage #14
Conversation
- Move store configuration into separate file - Purge unused redux-devtools-* packages
- Add missing import for redux.compose
- Remove --format option
# Conflicts: # app/client/main.js # package.json
Changes look good, merge at will! 👍 |
@jschr tried redux-persist but had a warning when calling I don't have time to investigate this and I think this can be tackled in future, but so far |
I haven't used redux-storage before. Just curious, Is that the one that errors or https://github.com/rt2zz/redux-persist? |
@jschr yeah I haven't used it either, but I've got the same error when using redux-persist |
Ah ok, good to know! I've run into similar errors using redux-persist in a chrome packaged app too. |
I think the error we experienced was related to
I have an assumption that On the other side, this produces certain side effects when used with History object should be always consulted regarding current location but I don't see that happening when debugging We could just swap If I am not entirely crazy this should be legit issue: reactjs/react-router-redux#534 I am hoping to fix that in boilerplate too once we figure out what exactly going on. |
Hi,
I've added react-router and redux-localstorage.
Local storage was primarily added to workaround the issue of preserving redux state between reloads that are currently done via browser-sync.
Thoughts/comments?
p.s: will squash before merge.