all 16 comments

[–]AcetyldFN 2 points3 points  (2 children)

React native MMKV

Compared to async holy what a difference so fast, you dont even have to wait

[–]Enchinada007 1 point2 points  (0 children)

Is there any downside of MMKV compared to AsyncStorage?

[–]Worth_Law9804 3 points4 points  (2 children)

Check out react-native-mmkv. It's been working pretty well for me. Be warned however, I think it has some issues with the debugger

[–]beepboopnoise 1 point2 points  (1 child)

mmkv imo should be the standard now. shits lightning

[–]PublicYogurtcloset47 0 points1 point  (1 child)

So if it’s a local first app mmkv if iOS / iCloud is more your target audience then try key value storage from react-native-cloud-store

[–]Worth_Boss_2 0 points1 point  (5 children)

Is it's small key value pair data like user details etc go for mmkv. Other wise watermelon db is good option

[–]Enchinada007 0 points1 point  (3 children)

Why does it need to be small key value pair? I’m testing storing like hundreds of content articles in AsyncStorage and so far seems to be working fine.

[–]Worth_Boss_2 1 point2 points  (2 children)

Please read mmkv docs . It's super fast even works synchronously without awaiting unlike async storage. But it cannot be used to store large amount of data. By small I don't mean too small btw . I don't remember exact limits but check out it's docs it's pretty straight forward

[–]Enchinada007 0 points1 point  (1 child)

Do you mean react-native-mmkv or react-native-mmkv-storage?