muchobien / flipper-plugin-react-native-mmkv

Plugin to control react-native-mmkv from Flipper

Home Page:https://github.com/muchobien/flipper-plugin-react-native-mmkv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Plugin to control react-native-mmkv from Flipper

https://github.com/muchobien/flipper-plugin-react-native-mmkv


Languages

Language:TypeScript 98.4%Language:JavaScript 1.6%