redux-persist
redux-persist copied to clipboard
Multiple persistReducer, but... with different storages files
Is it possible, I googled and search all issues... but couldn't find an answer... what I want to do is to have separate files/storages for different reducers. the reason is that the main app uses a storage... that is fine. but I have a separate part of the project that could become a large file, so it would be good to separate the file so the save operation doesn't need to "save the other storages files"... just that file. is that possible? I assume I need to use different persistReducer with configs that whiteList different keys? I could try but I need to be sure it works and that it is supported. any tips would be appreciated... TIA! (btw I'm using electron really, so the save operations are faster but anyway)
@UXDart did you end up figuring it out? I found #413 which seems to imply this does work.
no yet... not sure about that post, it seems is possible but not sure how to do it exactly, can't find a good example. the problem is... I can try things... but then if is not supported or if something changes everything breaks so that would be a big problem, specially if there is data lost. Thx
I'm trying to use it with multiple stores/contexts...
same here there is data lost
Any solution guys?
up on this @rt2zz