Describe the bug
Starting the dev server with a big project, with react-scripts start loads up everything fine, but as time passes, system horribly slows down. Turning off the server brings the system back to speed again, so cause of lag is isolated.
DISABLE_ESLINT_PLUGIN=true speeds things up initially, but does not help in the long run.
Did you try recovering your dependencies?
1.22.10
Which terms did you search for in User Guide?
EsLint, lag
Environment
Environment Info:
current version of create-react-app: 4.0.3
running from /root/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app
System:
OS: Linux 5.10 Kali GNU/Linux Rolling 2021.3
CPU: (4) x64 Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
Binaries:
Node: 12.22.5 - /usr/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.5.2 - /usr/bin/npm
Browsers:
Chrome: 91.0.4472.114
Firefox: Not Found
npmPackages:
react: ^16.13.1 => 16.14.0
react-dom: ^16.13.1 => 16.14.0
react-scripts: ^4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
(Write your steps here:)
- Create a project with
create-react-app
- Start dev server with
yarn start
- Wait for some time
- System starts lagging
Expected behavior
Performance over time should be consistent, and not slow down as time passes.
Actual behavior
System lags a lot, almost freezes, after 10 minutes of running the dev server, even with DISABLE_ESLINT_PLUGIN=true
Reproducible demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
Describe the bug
Starting the dev server with a big project, with
react-scripts startloads up everything fine, but as time passes, system horribly slows down. Turning off the server brings the system back to speed again, so cause of lag is isolated.DISABLE_ESLINT_PLUGIN=truespeeds things up initially, but does not help in the long run.Did you try recovering your dependencies?
1.22.10
Which terms did you search for in User Guide?
EsLint, lag
Environment
Steps to reproduce
(Write your steps here:)
create-react-appyarn startExpected behavior
Performance over time should be consistent, and not slow down as time passes.
Actual behavior
System lags a lot, almost freezes, after 10 minutes of running the dev server, even with
DISABLE_ESLINT_PLUGIN=trueReproducible demo
(Paste the link to an example project and exact instructions to reproduce the issue.)