Skip to content

muchobien/flipper-plugin-react-native-mmkv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flipper plugin for react-native-mmkv

This plugin allows you to control react-native-mmkv from flipper

Usage

Install the flipper plugin.

Simply search for 'react-native-mmkv' in the Plugin Manager in Flipper.

install plugin

In your react-native App

yarn add -D react-native-flipper
yarn add react-native-mmkv-flipper-plugin
import { MMKV } from "react-native-mmkv";
import { initializeMMKVFlipper } from "react-native-mmkv-flipper-plugin";
const storage = new MMKV();

// add this line inside your App.tsx
if (__DEV__) {
  initializeMMKVFlipper({ default: storage });
}

Screenshot

view