Redux-persist: Very slow rehydrate performance on Android

Created on 11 Jul 2018  路  2Comments  路  Source: rt2zz/redux-persist

Not sure if this is an issue with AsyncStorage or redux-persist, but I'm getting horrible performance/latency for persist/HYDRATE on Android.

iOS takes about ~400ms in development to rehydrate.
Android takes about ~4500ms in development to rehydrate.

I have barely any data in the store.

All 2 comments

Hmm.. Maybe it's timing out altogether -- the store is not properly persisted or restored at all on Android. Will debug.

Ah. It was the same old Android AsyncStorage issue. This PR is working around it:
https://github.com/facebook/react-native/pull/18522

Was this page helpful?
0 / 5 - 0 ratings