How to use the reactotron-react-native.createEnhancer function in reactotron-react-native

To help you get started, we’ve selected a few reactotron-react-native examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github infinitered / reactotron / examples / ReactotronTester / app / redux / store.ts View on Github external
export default () => {
  Reactotron.createSagaMonitor()

  const store = createStore(
    rootReducer,
    compose(
      middleware,
      Reactotron.createEnhancer()
    )
  )
  // const store = (Reactotron as any).createStore(rootReducer, compose(middleware))

  return store
}
github infinitered / reactotron / examples / demo-react-native / App / Redux / index.js View on Github external
export default () => {
  const sagaMiddleware = createSagaMiddleware({
    sagaMonitor: Reactotron.createSagaMonitor()
  })
  const middleware = applyMiddleware(logger, sagaMiddleware)
  const store = createStore(rootReducer, compose(middleware, Reactotron.createEnhancer()))
  sagaMiddleware.run(rootSaga)
  return store
}