Skip to content

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

Notifications You must be signed in to change notification settings

zrg-team/flipper-rn-redux-inspector-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published