react-devtools-core
Use react-devtools outside of the browser
Last updated 5 years ago by brianvaughn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install react-devtools-core 
SYNC missed versions from official npm registry.

react-devtools-core

A standalone React DevTools implementation.

This is a low-level package. If you're looking for the Electron app you can run, use react-devtools package instead.

API

react-devtools-core

This is similar requiring the react-devtools package, but provides several configurable options. Unlike react-devtools, requiring react-devtools-core doesn't connect immediately but instead exports a function:

const { connectToDevTools } = require("react-devtools-core");
connectToDevTools({
  // Config options
});

Run connectToDevTools() in the same context as React to set up a connection to DevTools.
Be sure to run this function before importing e.g. react, react-dom, react-native.

The options object may contain:

  • host: string (defaults to "localhost") - Websocket will connect to this host.
  • port: number (defaults to 8097) - Websocket will connect to this port.
  • websocket: Websocket - Custom websocked to use. Overrides host and port settings if provided.
  • resolveNativeStyle: (style: number) => ?Object - Used by the React Native style plug-in.
  • isAppActive: () => boolean - If provided, DevTools will poll this method and wait until it returns true before connecting to React.

react-devtools-core/standalone

Renders the DevTools interface into a DOM node.

require("react-devtools-core/standalone")
  .setContentDOMNode(document.getElementById("container"))
  .setStatusListener(status => {
    // This callback is optional...
  })
  .startServer(port);

Reference the react-devtools package for a complete integration example.

Current Tags

  • 3.5.0-alpha.0                                ...           alpha (6 years ago)
  • 5.3.1                                ...           latest (4 months ago)
  • 4.0.6                                ...           next (5 years ago)
  • 4.10.4                                ...           old (3 years ago)

148 Versions

  • 5.3.1                                ...           4 months ago
  • 5.3.0                                ...           5 months ago
  • 5.2.0                                ...           6 months ago
  • 5.1.0                                ...           7 months ago
  • 5.0.2                                ...           8 months ago
  • 5.0.0                                ...           a year ago
  • 4.28.5                                ...           a year ago
  • 4.28.4                                ...           a year ago
  • 4.28.0                                ...           a year ago
  • 4.27.8                                ...           a year ago
  • 4.27.7                                ...           2 years ago
  • 4.27.6                                ...           2 years ago
  • 4.27.5                                ...           2 years ago
  • 4.27.4                                ...           2 years ago
  • 4.27.3                                ...           2 years ago
  • 4.27.2                                ...           2 years ago
  • 4.27.1                                ...           2 years ago
  • 4.27.0                                ...           2 years ago
  • 4.26.1                                ...           2 years ago
  • 4.26.0                                ...           2 years ago
  • 4.25.0                                ...           2 years ago
  • 4.24.7                                ...           2 years ago
  • 4.24.6                                ...           3 years ago
  • 4.24.5                                ...           3 years ago
  • 4.24.4                                ...           3 years ago
  • 4.24.3                                ...           3 years ago
  • 4.24.2                                ...           3 years ago
  • 4.24.1                                ...           3 years ago
  • 4.24.0                                ...           3 years ago
  • 4.23.0                                ...           3 years ago
  • 4.22.1                                ...           3 years ago
  • 4.22.0                                ...           3 years ago
  • 4.21.0                                ...           3 years ago
  • 4.20.2                                ...           3 years ago
  • 4.20.1                                ...           3 years ago
  • 4.20.0                                ...           3 years ago
  • 4.19.2                                ...           3 years ago
  • 4.19.1                                ...           3 years ago
  • 4.19.0                                ...           3 years ago
  • 4.18.0                                ...           3 years ago
  • 4.17.0                                ...           3 years ago
  • 4.16.0                                ...           3 years ago
  • 4.15.0                                ...           3 years ago
  • 4.14.0                                ...           3 years ago
  • 4.13.5                                ...           3 years ago
  • 4.13.4                                ...           3 years ago
  • 4.10.4                                ...           3 years ago
  • 4.13.3                                ...           3 years ago
  • 4.13.2                                ...           4 years ago
  • 4.13.1                                ...           4 years ago
  • 4.13.0                                ...           4 years ago
  • 4.10.3                                ...           4 years ago
  • 4.10.2                                ...           4 years ago
  • 4.12.4                                ...           4 years ago
  • 4.12.3                                ...           4 years ago
  • 4.12.2                                ...           4 years ago
  • 4.12.1                                ...           4 years ago
  • 4.12.0                                ...           4 years ago
  • 4.11.0                                ...           4 years ago
  • 4.10.1                                ...           4 years ago
  • 4.10.0                                ...           4 years ago
  • 4.9.0                                ...           4 years ago
  • 4.8.2                                ...           4 years ago
  • 4.8.1                                ...           4 years ago
  • 4.8.0                                ...           4 years ago
  • 4.7.0                                ...           4 years ago
  • 4.6.0                                ...           5 years ago
  • 4.5.0                                ...           5 years ago
  • 4.4.0                                ...           5 years ago
  • 4.3.0                                ...           5 years ago
  • 4.2.1                                ...           5 years ago
  • 4.2.0                                ...           5 years ago
  • 4.1.3                                ...           5 years ago
  • 4.1.2                                ...           5 years ago
  • 4.1.1                                ...           5 years ago
  • 4.1.0                                ...           5 years ago
  • 4.0.6                                ...           5 years ago
  • 4.0.5                                ...           5 years ago
  • 4.0.4                                ...           5 years ago
  • 4.0.3                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 4.0.0-alpha.10                                ...           5 years ago
  • 4.0.0-alpha.9                                ...           5 years ago
  • 4.0.0-alpha.8                                ...           5 years ago
  • 4.0.0-alpha.7                                ...           5 years ago
  • 4.0.0-alpha.6                                ...           5 years ago
  • 4.0.0-alpha.5                                ...           5 years ago
  • 3.6.3                                ...           5 years ago
  • 4.0.0-alpha.4                                ...           5 years ago
  • 4.0.0-alpha.3                                ...           5 years ago
  • 4.0.0-alpha.2                                ...           5 years ago
  • 4.0.0-alpha.1                                ...           5 years ago
  • 3.6.2                                ...           5 years ago
  • 4.0.0-alpha.0                                ...           5 years ago
  • 3.6.1                                ...           6 years ago
  • 3.6.0                                ...           6 years ago
  • 3.5.3                                ...           6 years ago
  • 3.5.2                                ...           6 years ago
  • 3.5.1                                ...           6 years ago
  • 3.5.0                                ...           6 years ago
  • 3.5.0-alpha.0                                ...           6 years ago
  • 3.4.3                                ...           6 years ago
  • 3.4.2                                ...           6 years ago
  • 3.4.1                                ...           6 years ago
  • 3.4.0                                ...           6 years ago
  • 3.3.4                                ...           6 years ago
  • 3.3.3                                ...           6 years ago
  • 3.3.2                                ...           6 years ago
  • 3.2.4-alpha.0                                ...           6 years ago
  • 3.2.3                                ...           6 years ago
  • 3.2.2                                ...           6 years ago
  • 3.2.1                                ...           7 years ago
  • 3.2.0                                ...           7 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.0                                ...           7 years ago
  • 2.5.2                                ...           7 years ago
  • 2.5.1                                ...           7 years ago
  • 2.5.0                                ...           7 years ago
  • 2.4.0                                ...           7 years ago
  • 2.3.3                                ...           7 years ago
  • 2.3.2                                ...           7 years ago
  • 2.3.1                                ...           7 years ago
  • 2.3.0                                ...           7 years ago
  • 2.2.1                                ...           7 years ago
  • 2.2.0                                ...           7 years ago
  • 2.1.9                                ...           8 years ago
  • 2.1.8                                ...           8 years ago
  • 2.1.7                                ...           8 years ago
  • 2.1.5                                ...           8 years ago
  • 2.1.4                                ...           8 years ago
  • 2.1.3                                ...           8 years ago
  • 2.1.2                                ...           8 years ago
  • 2.1.1                                ...           8 years ago
  • 2.1.0                                ...           8 years ago
  • 2.0.12                                ...           8 years ago
  • 2.0.11                                ...           8 years ago
  • 2.0.10                                ...           8 years ago
  • 2.0.9                                ...           8 years ago
  • 2.0.8                                ...           8 years ago
  • 2.0.7                                ...           8 years ago
  • 2.0.6                                ...           8 years ago
  • 2.0.5                                ...           8 years ago
  • 2.0.4                                ...           8 years ago
  • 2.0.2                                ...           8 years ago
  • 2.0.1                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 1.0.6                                ...           8 years ago
  • 1.0.5                                ...           8 years ago
Downloads
Total 3
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE