Notes

Older React Version

"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.3",

Current React Version

"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.0",

Alternative fix

.env file in the root FAST_REFRESH=FALSE