Skip to content

Commit

Permalink
Merge pull request #42 from jk-gan/feature/sandy_upgrade
Browse files Browse the repository at this point in the history
Feature/sandy upgrade
  • Loading branch information
jk-gan authored Jul 31, 2021
2 parents d3a8f98 + d3b670b commit f7435d7
Show file tree
Hide file tree
Showing 4 changed files with 3,945 additions and 2,923 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Redux Debugger Plugin for Flipper

![screenshot of the plugin](https://imgur.com/QUDYozo.png)
![screenshot of the plugin](https://i.imgur.com/blqn8oT.png)

`flipper-plugin-redux-debugger` allows you read React Native redux logs inside [Flipper](https://fbflipper.com/) now:

Expand All @@ -20,12 +20,14 @@ cd ios && pod install
2. Add the middleware into your redux store:

```javascript
import { createStore, applyMiddleware } from 'redux';
import { createStore, applyMiddleware } from "redux";

const middlewares = [/* other middlewares */];
const middlewares = [
/* other middlewares */
];

if (__DEV__) {
const createDebugger = require('redux-flipper').default;
const createDebugger = require("redux-flipper").default;
middlewares.push(createDebugger());
}

Expand Down
Loading

0 comments on commit f7435d7

Please sign in to comment.