Zack Story
Zack Story
AsyncStorage stores everything in one JSON file, so while I have never hit the limit, I can imagine bad things happen when you do. Two possible options off the top...
@ksegla have you tried one of the fs storage adapters for react-native? There are a couple of options here: https://github.com/rt2zz/redux-persist/blob/v5/README.md#storage-engines The underlying problem here is that redux-persist does not have...
@ksegla sorry for the churn, it looks like redux-persist-filesystem-storage does not yet support the promise api which v5 requires. I created a pull request to add support here https://github.com/robwalkerco/redux-persist-filesystem-storage/pull/4 but...
afaik indexeddb has no way to listen for changes (other than polling). If there is a solution, making redux-persist-crosstab support it should be trivial. More info here: https://github.com/localForage/localForage/issues/244 If you...
correct this module does not yet support redux-persist v5. It should I think be possible using persistor.rehydrate, but the details need to be figured out around deserializing etc. It might...
might be worth building off this: https://github.com/rt2zz/redux-persist/issues/569 If we can get this generalized, I would be happy to accept a PR.
I have not used this lib much, but some possible ideas: 1. would putting the sync on a throttle help? 2. is there a way to avoid circular updates? I...
options: 1. do not nest messages, bring it up either to the top level of the reducer, or as its own reducer 2. implement a custom REHYDRATE handler in your...
its also possible to do this with a custom getStoredState implementation. Thats what we did for v4 to v5 migration: https://github.com/rt2zz/redux-persist/blob/master/docs/MigrationGuide-v5.md#experimental-v4-to-v5-state-migration
Another option is to use the pause method of the persistor. Or you can use the value of remember me to decide whether or not to accept the rehydrate payload...