Key-value Storage in React Native

An extremely fast, small mobile key-value key/value storage library for React Native. ~30x faster than AsyncStorage!


  • Get and set strings, booleans and numbers
  • Fully synchronous calls, no async/await, no Promises, no Bridge.
  • High performance because everything is written in C++ (even the JS functions have C++ bodies!)
  • ~30x faster than AsyncStorage
  • Uses JSI instead of the “old” Bridge


1. Install and import the library.

$ npm i react-native-mmkvimport { MMKV } from 'react-native-mmkv';

2. Set & get storage.

// set
MMKV.set('', 'VueScript');
MMKV.set('is-vue', true);// get
const sitename = MMKV.getString('')
const isVue = MMKV.getBoolean('is-vue')

3. Get all keys.

const keys = MMKV.getAllKeys()

4. Delete an entry.


Download Details:

Author: mrousavy

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:

License: MIT

#react-native #react #reactjs 

Key-value Storage in React Native
1.05 GEEK