You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm it's very unstable / unusable today. It doesn't detect any change in non-UI components, for example MobX stores, thus the whole refresh is broken, I always have to reload manually now.
I believe this line need to be changed to === 'true', to make it disabled by default. Also, a small explanation should be added to the next release log, this feature is really not documented at all.
FAST_REFRESH is mentioned as experimental / unstable in the original release log
here: Add experimental react-refresh support #8582 and here:
https://github.com/facebook/create-react-app/blob/3f5dea91c1721b233e5a2b514ff9ea6fbc76ff97/packages/react-scripts/config/env.js#L97-L98
I can confirm it's very unstable / unusable today. It doesn't detect any change in non-UI components, for example MobX stores, thus the whole refresh is broken, I always have to reload manually now.
Against what is written in the release log and source code comments, it is actually ENABLED by default today.
https://github.com/facebook/create-react-app/blob/3f5dea91c1721b233e5a2b514ff9ea6fbc76ff97/packages/react-scripts/config/env.js#L100
I believe this line need to be changed to
=== 'true', to make it disabled by default. Also, a small explanation should be added to the next release log, this feature is really not documented at all.