Created by: n3tr
Page doesn't get refreshed when disabling FAST_REFRESH
. This is because the process.env.FAST_REFRESH
in webpackHotDevClient
is a boolean value, comparing !== 'false'
will always return true
.
yarn create-react-app my-app
yarn start
App.js
contentFAST_REFRESH=false
FAST_REFRESH=false yarn start
App.js