-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a way to disable Fast Refresh and fallback to classic browser reload. #10078
Comments
Hi @hoomanaskari, setting Can you provide a repro repo or similar demo? Thanks! |
@petetnt Thanks for the reply. Yes, I can confirm that adding But the issue now is that it disables the whole thing, prior to this update, browser reloaded upon file save, but now it's either fast refresh or nothing. I was wondering if there is a way to optionally fallback to the previous system (browser reloading on file save)? |
@petetnt it might disable FAST REFRESH feature but it doesn't return browser reload on changes behaviour. |
#9884 fixed this three weeks ago. Not sure why the delay to push this fix and others. |
This will likely be pushed out in the next release. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue is not yet fixed in the latest version of react-script. Still browser does not refresh automatically when |
We're using react-script 4.0.1 and using |
Yes that is right, removing the node_modules, upgrading to react-scripts 4.0.2 and re-installing the node modules somehow resolved it for me too! |
On Windows with react-scripts 4.0.1, setting |
react 17.0.2 not wokring for me. |
react 17.0.2 |
Could it be possible to disable by default this experimental feature? |
Hi,
Recently upgraded to CRA 4 and it's great so far. Well, almost great. While the new fast refresh works great on our landing pages, it does not work on our core app. The issue is that our core app relies heavily on events and js canvas, and that's where fast refresh does not work well, or at all.
Is there a way to optionally disable the fast refresh and fallback to browser reload on file save/update? I tried adding
FAST_REFRESH=false
env but it did not work.Thanks in advance.
The text was updated successfully, but these errors were encountered: