1.0.2 • Published 5 years ago
electron-native-hmr v1.0.2
Electron React HMR without Dev Server
It doesn't use a local webserver for development. For HMR, it pollute modules object when this module is loaded to support react-hot-loader.
Installation
npm i electron-native-hmr
or
yarn add electron-native-hmr
Then, require this module in index.html file before main code starts:
<script>
require('electron-native-hmr');
require('./index');
</script>