Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.22 KB

File metadata and controls

39 lines (24 loc) · 1.22 KB

Hi developers feel free to make it great. **

About

A flipper plugin support inspect redux state and action logs for react-native

Dependencies:

demo

Installation

1. install flipper redux middleware to your application

npm install rn-redux-middleware-flipper react-native-flipper

Make sure react-native-flipper is installed properly if not using autolinking.

2. Setup redux middleware

Register the redux middware and connect to flipper. rn-redux-middleware-flipper

if (__DEV__) { // eslint-disable-line
  const createFlipperMiddleware = require('rn-redux-middleware-flipper').default
  middlewares.push(createFlipperMiddleware())
}

3. Flipper desktop app

Manage Plugins -> Install Plugins -> Search for flipper-plugin-rn-redux-inspector

Example

Spiderum application