jk-gan / flipper-plugin-redux-debugger

Flipper plugin for Redux in React Native
MIT License
117 stars 20 forks source link

Cannot read property 'nativePerformanceNow' of undefined #24

Closed chichke closed 3 years ago

chichke commented 4 years ago

image

Package.json


    "react-native-flipper": "^0.37.0",
    "redux-flipper": "^1.2.0",

index.js

let middlewares = [thunk];

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

}

const store = createStore(rootReducer, applyMiddleware(...middlewares));

Any help would be appreciated!

plwai commented 4 years ago

Starting from flipper redux debugger V 1.1.0, flipper specification has been migrated to version 2. Upgrade Flipper app will solve this issue.

14