redux-devtools/packages/redux-devtools-trace-monitor
Mihail Diordiev b80cc9e5b9
Merge react-json-tree package (#428)
* Merge react-json-tree from alexkuz/react-json-tree

* Npm package config

* Add credits

* Stick `eslint-plugin-react` to `7.4.0` till change deprecated `componentWillReceiveProps`
2018-12-21 21:18:05 +02:00
..
src Show a hint with link to docs when no stack provided 2018-12-18 19:26:17 +02:00
test Show a hint with link to docs when no stack provided 2018-12-18 19:26:17 +02:00
.babelrc Fix babel transpiling 2018-12-13 03:38:25 +02:00
.eslintignore Move StackTraceTab and react-error-overlay 2018-12-13 03:38:24 +02:00
.eslintrc Remove console logs in production 2018-12-13 03:38:25 +02:00
LICENSE Move StackTraceTab and react-error-overlay 2018-12-13 03:38:24 +02:00
package.json Merge react-json-tree package (#428) 2018-12-21 21:18:05 +02:00
README.md Move StackTraceTab and react-error-overlay 2018-12-13 03:38:24 +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