Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

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

Plugin to control react-native-mmkv from Flipper
https://github.com/muchobien/flipper-plugin-react-native-mmkv

flipper flipper-plugin mmkv react-native react-native-mmkv

Last synced: 7 days ago
JSON representation

Plugin to control react-native-mmkv from Flipper

Lists

README

        

# Flipper plugin for [react-native-mmkv](https://github.com/mrousavy/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

```sh
yarn add -D react-native-flipper
yarn add react-native-mmkv-flipper-plugin
```

```ts
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](./.github/img/flipper.png)