Closed farmanalibhatti closed 3 years ago
@farmanalibhatti did you manage to add persist to this?
@farmanalibhatti did you manage to add persist to this?
No, I just added a two custom routes.
If you solve this issue, do let me know. I want to add persist to my project.
Hey guys I'm having the same issue, I tried adding persist as redux toolkit docs says but I had no luck, it might be a problem with boilerplate injectors, I'm waiting for this issue to be resolved also. @Can-Sahin What do you think might the problem? the issue above has a code snippet that shows the boilerplate implementation of persist as redux toolkit suggest.
@CwirL yes, I also opened that issue good that you linked it here also. I'm sure the problem is the injector. I hope the person who rote the injector/boilerplate can look into it.
I see that dynamic reducers can be the problem. I would suggest not using injectors and just go for the standard redux approach, adding reducers statically. Same for the redux-saga. After all, you can fully customize the boilerplate. No need to stick to injectors blindly.
Unable to implement redux-persist in react cra boilerplate! Did you guys manage to add the forementioned?
Is there a prebuilt feature for redux-persist in this boilerplate? Can you give an example for this specific one?