Description
react-native-mmkv-storage is a key-value storage library for React Native apps. It uses MMKV, the storage library from Tencent that the project says is used in WeChat, on both Android and iOS. The library is written in C++ with JSI, which lets JavaScript call native code directly, and the project describes it as one of the fastest storage options for React Native. Unlike many React Native storage solutions, it lets you store any kind of data type, in any number of database instances, with or without encryption. MMKV uses mmap to keep memory synced with the file and protobuf to encode values. Two hooks make storage reactive. useMMKVStorage works like persisted state: every change is written to storage and the UI updates at once, including after a restart.…
Highlights
- Fast key-value storage with JSI
- Any data type, any number of instances
- Optional encryption
- useMMKVStorage and useIndex hooks
- Transaction manager for lifecycle control
Ratings & Reviews
No ratings yet
Be the first to rate React Native Mmkv Storage.
People also visit

react-native-level-fs
fs for react-native using level-filesystem and asyncstorage-down
React Native Mmkv Storage FAQ
What is react-native-mmkv-storage?
A fast key-value storage library for React Native that uses MMKV on Android and iOS.
Can it encrypt data?
Yes. Storage can be used with or without encryption, in any number of database instances.
Which React Native versions are supported?
The new architecture needs React Native 0.75 or later. The old architecture supports 0.71.0 and later. Older versions should stay on the 0.8.x release.
What does useMMKVStorage do?
It works like persisted state. Each change is written to storage and the UI updates immediately, including after the app restarts.
How do I install it on Expo?
Install it with npm, then run expo prebuild for the Expo bare workflow, according to the README.
What are the best React Native Mmkv Storage alternatives?
Popular alternatives to React Native Mmkv Storage include Hawk, Fireproof and SimpleR State. See all React Native Mmkv Storage alternatives















