New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mobx-flipper

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-flipper

Mobx middleware for flipper

latest
Source
npmnpm
Version
1.2.6
Version published
Weekly downloads
216
18.68%
Maintainers
1
Weekly downloads
 
Created
Source

Mobx Flipper

screenshot of the plugin

flipper-plugin-mobx-debugger allows you read React Native mobx logs inside Flipper now:

  • Action
  • State comparison

Get Started

  • Install mobx-flipper middleware and react-native-flipper in your React Native app:
yarn add mobx-flipper react-native-flipper
# for iOS
cd ios && pod install
  • Add the middleware:
  • MobX
import {spy} from 'mobx';
import {createMobxDebugger} from 'mobx-flipper';

const store = new Store(); // your store

if (__DEV__) {
  spy(createMobxDebugger(store));
}
  • MobX-state-tree
import {addMiddleware} from 'mobx-state-tree';
import {createMstDebugger} from 'mobx-flipper';

const store = new Store(); // your store

if (__DEV__) {
  addMiddleware(store, createMstDebugger(store));
}
Manage Plugins > Install Plugins > search "mobx-debugger" > Install
  • Start your app, then you should be able to see Mobx Debugger on your Flipper app

Acknowledgement

This plugin is inspired by flipper-plugin-redux-debugger.

FAQs

Package last updated on 17 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts