Skip to content
Branch: master
Find file History
Latest commit 52099bc Mar 2, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fix infinite retry loop (#1248) Mar 2, 2019 Add connectToDevTools(options) for React Native (#494) Feb 8, 2017
index.js [Electron] Remove indirection (#498) Feb 8, 2017
package.json 3.5 -> 3.6 Jan 14, 2019
standalone.js Set up Lerna and move Electron shell to packages/ (#493) Feb 7, 2017
webpack.backend.js Fixed standalone+DOM integration (#1271) Jan 7, 2019
webpack.standalone.js Fix standalone+DOM integration (again, this time by fixing __dirname … Jan 7, 2019


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.



This is similar to require('react-devtools') in another package but providing more control.
Unlike require('react-devtools'), it doesn't connect immediately, but exports a function.

Run connectToDevTools() in the same context as React to set up a connection to DevTools.
Make sure this runs before any react, react-dom, or react-native imports.

The options object may contain:

  • host (string), defaults to 'localhost'.
  • port (number), defaults to 8097.
  • resolveRNStyle (function), used by RN and null by default.

None of the options are required.


Lets you render DevTools into a DOM node and have it listen to connections.

For example:


You can check the Electron shell in react-devtools package for a complete integration example.

You can’t perform that action at this time.