-
Notifications
You must be signed in to change notification settings - Fork 865
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
react-boilerplate integration #581
Comments
It should integrate easily per the instructions in the readme |
Integration with react-boilerplate:
2: edit configureStore.js something like this:
3: edit app.js
|
@mouthzipper I followed exact steps above, here is the problem I ran into: |
@shekhardesigner I forgot to mention that I'm using v4.10.2, |
@shekhardesigner How do you solve this problem? |
@billgo Haven't tried this yet! |
@mouthzipper You sure about the version you were using? 4.10.2 doesn't have |
@shekhardesigner you are correct, if you decided to use 4.10.2
|
I have been trying to integrate V5 of this Here is what I have done so far: 1. Install NPM
2. Setup Redux Persist in
|
:( |
@shekhardesigner have you find any solution? I am having the same issue, please help if you have solved this issue. Thanks in advance. |
I couldn't find a solution. However, I realised redux persist might not be necessary (better do not rely on something with so little documentation). On egghead.io there is an example of Dan Abramov. You can just subscribe to the store and use lodash throttle to save to local storage. |
@TilakZ Take a look at this - https://github.com/hendrathings/react-boilerplate-redux-persist-sample |
I mean here are literally 234 open issues.. https://egghead.io/lessons/javascript-redux-persisting-the-state-to-the-local-storage it takes like 5 minutes to setup. Redux persist is a nightmare of complexity and lacks documentation, so if it is not really crucial to save the whole state you might save a lot of time with subscribe. |
I agree with @JonathanLehner here, I too didn't implement |
@shekhardesigner @JonathanLehner Thanks guys for your help, the example of Dan Abramov worked out for me. |
localStorage.js
app.js
works for me, no need of |
I'm currently using https://github.com/react-boilerplate/react-boilerplate and I'm just wonder if anyone integrate redux-persist with it?
The text was updated successfully, but these errors were encountered: