redux-devtools/packages/redux-devtools-inspector-monitor-trace-tab
2024-10-14 18:45:53 +00:00
..
src chore(deps): update typescript-eslint monorepo to v8 (major) (#1710) 2024-08-05 00:38:28 +00:00
test chore(deps): update dependency prettier to v3 (#1434) 2023-07-12 18:03:20 +00:00
babel.config.esm.json Imprrove ability to tree-shake libraries (#1050) 2022-01-24 02:11:46 +00:00
babel.config.json Imprrove ability to tree-shake libraries (#1050) 2022-01-24 02:11:46 +00:00
CHANGELOG.md Version Packages (#1651) 2024-04-07 21:19:20 +00:00
eslint.config.mjs Use flat config for ESLint (#1712) 2024-08-08 23:47:07 -04:00
jest.config.cjs Use flat config for ESLint (#1712) 2024-08-08 23:47:07 -04:00
LICENSE.md chore(trace): rename trace-monitor to trace-tab (#650) 2020-10-04 00:11:22 -04:00
package.json chore(deps): update source-map 2024-10-14 18:45:53 +00:00
README.md chore(deps): update dependency prettier to v3 (#1434) 2023-07-12 18:03:20 +00:00
tsconfig.json Imprrove ability to tree-shake libraries (#1050) 2022-01-24 02:11:46 +00:00
tsconfig.test.json Use types in tscnofig to explicitly define global types (#1045) 2022-01-22 21:51:27 +00: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-monitor according to Walkthrough:

containers/DevTools.js
import React from 'react';
import { createDevTools } from '@redux-devtools/core';
import { InspectorMonitor } from '@redux-devtools/inspector-monitor';
import { TraceTab } from '@redux-devtools/inspector-monitor-trace-tab';

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

License

MIT