mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 02:53:53 +03:00
8682d05b0b
* Update Redux packages * Fix instrument build * Fix some test type errors * Fix redux-devtools build * Fix rtk-query-monitor build * Fix redux-devtools-app build * Fix redux-devtools-extension build * Fix redux-devtools-remote build * Fix extension build * slider-monitor-example * test-tab-demo * inspector-monitor-demo * rtk-query-monitor-demo * counter-example * todomvc-example * Fix lint * Fix instrument test types * Fix core tests * Fix rtk-query-monitor tests * Updates |
||
---|---|---|
.. | ||
assets | ||
demo | ||
src | ||
.eslintignore | ||
.eslintrc.js | ||
babel.config.esm.json | ||
babel.config.json | ||
buildUmd.mjs | ||
CHANGELOG.md | ||
LICENSE.md | ||
package.json | ||
README.md | ||
tsconfig.demo.json | ||
tsconfig.json | ||
tsconfig.webpack.json | ||
webpack.config.ts |
Redux DevTools monitor app
Web, Electron and Chrome app for monitoring remote-redux-devtools.
Also it's a react component you can use to build amazing monitor applications like:
- redux-devtools-extension.
- react-native-debugger - Electron app, which already includes
remotedev-server
,redux-devtools-app
and even React DevTools. - remote-redux-devtools-on-debugger - Used in React Native debugger as a dock monitor.
- atom-redux-devtools - Used in Atom editor.
- vscode-redux-devtools - Used in Visual Studio Code.
Usage
import React from 'react';
import ReactDOM from 'react-dom/client';
import { Root } from '@redux-devtools/app';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<Root />);
Parameters
socketOptions
- object used to specify predefined options for the connection:hostname
- stringport
- number or stringautoReconnect
- booleansecure
- boolean.
monitorOptions
- object used to specify predefined monitor options:selected
- string - which monitor is selected by default. One of the following values:LogMonitor
,InspectorMonitor
,ChartMonitor
.
testTemplates
- array of strings representing predefined test templates.noSettings
- boolean set totrue
in order to hide settings button and dialog.
License
MIT