Repository: create-react-app
Issue: UI freezes on re-compile
Labels: needs triage

I can't figure out what could be causing this but in this one UI I am managing for years:

whenever i make changes to code while reacts-scripts is running locally via `start` , app is recompiled correctly but

* any code changes are recompiled and reflected correctly
* UI freezes (can't click on any dropdowns, or links or enter any text), have to reload the page every time 
* i tried running in incognito with no plugins 
* this does not happen in 4 other UI's with similar setup

simple f5 reloads the page, however this is annoying on more complex screens that may take a few seconds to setup.  this is happening only only 1 UI, and i am not sure how to figure out what could be causing this.. 

here's my package.json

```
{
  "name": "web",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@apollo/client": "^3.6.6",
    "@blueprintjs/core": "^3.51.3",
    "@blueprintjs/datetime": "^3.23.0",
    "@blueprintjs/popover2": "^1.1.2",
    "@blueprintjs/select": "^3.16.0",
    "@fortawesome/fontawesome-svg-core": "^6.1.1",
    "@fortawesome/free-regular-svg-icons": "^6.1.1",
    "@fortawesome/free-solid-svg-icons": "^6.1.1",
    "@fortawesome/react-fontawesome": "^0.1.18",
    "@okta/okta-react": "^3.0.10",
    "@testing-library/react": "^11.2.6",
    "@types/file-saver": "^2.0.2",
    "@types/flat": "^5.0.1",
    "@types/humanize-duration": "^3.18.1",
    "@types/jest": "26.0.23",
    "@types/json2csv": "^5.0.1",
    "@types/jwt-decode": "^2.2.1",
    "@types/papaparse": "^5.2.5",
    "@types/react": "17.0.34",
    "@types/react-copy-to-clipboard": "^4.3.0",
    "@types/react-dom": "17.0.3",
    "@types/tableau": "^2.2.4",
    "autoprefixer": "^10.2.5",
    "axios": "^0.21.1",
    "axios-hooks": "^2.6.1",
    "date-fns": "^2.21.1",
    "file-saver": "^2.0.2",
    "flat": "^5.0.2",
    "graphql": "^15.5.0",
    "graphql-tag": "^2.11.0",
    "graphql.macro": "^1.4.2",
    "humanize-duration": "^3.25.2",
    "json2csv": "^5.0.7",
    "jwt-decode": "^3.0.0",
    "npm-run-all": "^4.1.5",
    "papaparse": "^5.3.0",
    "postcss": "^8.2.13",
    "prettier": "^2.6.2",
    "progressbar.js": "^1.0.1",
    "query-string": "^6.13.7",
    "react": "17.0.2",
    "react-copy-to-clipboard": "^5.0.4",
    "react-dom": "17.0.2",
    "react-dropzone": "^11.3.2",
    "react-error-boundary": "^3.1.1",
    "react-markdown": "^7.0.0",
    "react-number-format": "^4.5.5",
    "react-router": "^5.2.1",
    "react-router-dom": "^5.3.0",
    "react-scripts": "4.0.3",
    "react-table": "^7.7.0",
    "react-toastify": "^6.0.9",
    "react-virtualized-auto-sizer": "^1.0.5",
    "react-window": "^1.8.6",
    "sb": "^6.2.9",
    "tableau": "^0.0.3",
    "tableau-api-js": "^2.8.1",
    "tslint-etc": "^1.13.10",
    "use-interval": "^1.3.0",
    "use-query-params": "^1.2.2"
  },
  "scripts": {
    "start": "react-scripts start",
    "start-all": "concurrently --kill-others-on-fail \"yarn start\" \"yarn watch:tailwind\"",
    "build": "react-scripts build",
    "test": "tsc -p . && react-scripts test --watchAll=false --transformIgnorePatterns \"node_modules/(?!react-markdown)/\""
  },
  "devDependencies": {
    "@graphql-codegen/cli": "^2.4.0",
    "@graphql-codegen/introspection": "2.1.1",
    "@graphql-codegen/typescript": "^2.4.2",
    "@graphql-codegen/typescript-operations": "^2.2.3",
    "@graphql-codegen/typescript-react-apollo": "3.2.4",
    "@storybook/addon-actions": "^6.2.9",
    "@storybook/addon-essentials": "^6.2.9",
    "@storybook/addon-links": "^6.2.9",
    "@storybook/addons": "^6.2.9",
    "@storybook/node-logger": "^6.2.9",
    "@storybook/preset-create-react-app": "^3.1.7",
    "@storybook/react": "^6.2.9",
    "@types/react-router-dom": "^5.3.1",
    "@types/react-table": "^7.7.5",
    "@types/react-test-renderer": "^17.0.1",
    "@types/react-virtualized-auto-sizer": "^1.0.0",
    "@types/react-window": "^1.8.2",
    "@types/tableau": "^2.2.4",
    "@typescript-eslint/eslint-plugin": "^4.22.0",
    "@typescript-eslint/parser": "^4.22.0",
    "babel-loader": "8.1.0",
    "create-react-app": "^4.0.3",
    "eslint": "^7.25.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.25.3",
    "eslint-plugin-react": "^7.23.2",
    "eslint-plugin-react-hooks": "^4.2.0",
    "graphql-tools": "^7.0.4",
    "husky": "^6.0.0",
    "maketypes": "^1.1.2",
    "pretty-quick": "^3.1.0",
    "prop-types": "^15.7.2",
    "react-test-renderer": "^17.0.2",
    "storybook-dark-mode": "^1.0.7",
    "tailwindcss": "^3.1.6",
    "typescript": "4.2.4"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

```