react-devtools-electron

4.7.0 • Public • Published

react-devtools-electron

npm version PRs Welcome

React Developer Tools for Electron

Showcase

Installation

npm install --save-dev react-devtools-electron

Usage

Inside the main process add the following line:

isDev && require('react-devtools-electron')

Or if you're using TypeScript:

isDev && import('react-devtools-electron')

isDev represents a boolean which is true when your app is running in development mode. If you haven't defined one yourself you can use electron-is-dev.

Readme

Keywords

Package Sidebar

Install

npm i react-devtools-electron

Weekly Downloads

456

Version

4.7.0

License

MIT

Unpacked Size

1.05 MB

Total Files

52

Last publish

Collaborators

  • dimitarnestorov