Add React DevTools to your Electron app
npm install react-devtools-electron

React Developer Tools for Electron

``sh`
npm install --save-dev react-devtools-electron
Inside the main process add the following line:
`javascript`
isDev && require('react-devtools-electron')
Or if you're using TypeScript:
`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`.