ammarahm-ed / react-native-mmkv-storage

An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
https://rnmmkv.now.sh
MIT License
1.56k stars 109 forks source link

improve the publish performance when clearstore #313

Closed codering closed 8 months ago

codering commented 1 year ago

I have thousands of keys every mmkv instance,the publish executes too many times when I call clearstore,Whether I have a listener or not.

Maybe it can be invoked once with all keys,or there is no need to even publish, leaving the user to handle it when clearstore.

ammarahm-ed commented 8 months ago

This has been fixed now in v0.10.0