redux-devtools/packages/redux-devtools-trace-monitor
2019-02-07 02:10:39 +02:00
..
src Prettify 2019-02-07 02:10:24 +02:00
test Merge pull request #449 from nndio/deps 2019-02-07 01:59:57 +02:00
.babelrc Update babel 2019-02-06 01:59:55 +02:00
LICENSE Move StackTraceTab and react-error-overlay 2018-12-13 03:38:24 +02:00
package.json Bump redux-devtools-trace-monitor 2019-02-07 02:10:39 +02:00
README.md Use prettier 2019-01-10 20:51:14 +02:00

Redux DevTools Stack Trace Monitor

Submonitor for Redux DevTools inspector to show stack traces. Based on react-error-overlay and the contribution of Mark Erikson in the PR from remotedev-app.

It's integrated in Redux DevTools browser extension. To use it separately with redux-devtools and redux-devtools-inspector according to Walkthrough:

containers/DevTools.js
import React from 'react';
import { createDevTools } from 'redux-devtools';
import Inspector from 'redux-devtools-inspector';
import TraceMonitor from 'redux-devtools-trace-monitor';

export default createDevTools(
  <Inspector
    tabs: defaultTabs => [...defaultTabs, { name: 'Trace', component: TraceMonitor }]
  />
);
store/configureStore.js
// ...
const enhancer = compose(
  // ...
  DevTools.instrument({ trace: true })
);
// ...

License

MIT