Hi!
I'm new to React. This project helps a lot but react-hot-loader is super annoying for me.
When I edit code I save a lot and I don't want the browser to be refreshed at every change. However I like that the app is rebuilt automatically and I don't need to rerun npm start.
Can I disable browser refreshing on change somehow?
This project has no relation to React Hot Loader. In fact React Hot Loader does the opposite: it updates page in place without refreshing. React Hot Loader is not included in Create React App.
No, you can't disable refreshing in the default setup. If you want to customize this, you can either npm run eject and then configure Webpack as you like, or fork react-scripts and maintain your own version that doesn鈥檛 refresh automatically.
If you're using Chrome, you can temporarily disable reloading by following these instructions:
https://github.com/facebookincubator/create-react-app/issues/2519#issuecomment-318867289
No changes to create-react-app are required.
Most helpful comment
This project has no relation to React Hot Loader. In fact React Hot Loader does the opposite: it updates page in place without refreshing. React Hot Loader is not included in Create React App.
No, you can't disable refreshing in the default setup. If you want to customize this, you can either
npm run ejectand then configure Webpack as you like, or forkreact-scriptsand maintain your own version that doesn鈥檛 refresh automatically.