This repository can be used with electron configured with react and typescript. Hot reloading is already supported.
$ git clone https://github.com/Daiki48/electron-react-typescript-template.git my-electron-app
$ cd my-electron-app
$ npm i$ npm run dev