redux-devtools/packages/redux-devtools-app/README.md
renovate[bot] e9da5fc411
fix(deps): update react (major) (#1165)
* fix(deps): update react

* Fix

* Use createRoot

* Update tests

* Format

* Fix test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2022-06-06 16:22:05 +00:00

1.8 KiB

Redux DevTools monitor app

Demo

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:

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 - string
    • port - number or string
    • autoReconnect - boolean
    • secure - 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 to true in order to hide settings button and dialog.

License

MIT