Huge amount of data persist using zustand

217 Views Asked by At

I want to persist my app data using zustand but in react native, but unable to use asyncstorage due to storage limitation 5 MB what other option do I have.

I tried to store huge amount of data using Zustand in AsyncStorage, Due to storage limitation unable to do it

2

There are 2 best solutions below

0
Ostrich96 On

Instead of AsyncStorage, you can use the React Native File System (react-native-fs) to store data in files on the device. This can be useful for large datasets.

0
Rodrigo Dias On

Hi use something like react-native-sqlite-storage if you need to store large amounts of data. hope this helps.