React Developer Tools for Electron
npm install --save-dev react-devtools-electron
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
Add React DevTools to your Electron app
The npm package react-devtools-electron receives a total of 2,262 weekly downloads. As such, react-devtools-electron popularity was classified as popular.
We found that react-devtools-electron demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.