rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.94k stars 866 forks source link

dynamic keys #611

Open omnidan opened 6 years ago

omnidan commented 6 years ago

I am using redux-persist in combination with chrome sync storage. Unfortunately, it is only possible to store up to 8kb per key, which means that my Redux store space is limited to 8kb.

I already tried making separate keys for each reducer, but my problem is that there is a single reducer that manages an object that's bigger than 8kb (key/value storage). Would it be possible to store the whole state tree as separate keys, e.g. use state.items.ID as key?

ScreamZ commented 6 years ago

By using different storage config i think it is: see Nested Persist or look the "new doc" with the PR #588

Looks also close to #637 that is still pending