The react project starts very slowly and asks for help.

the project I built using react-create-app takes more than 3 minutes to start the project using yarn start., yarn start executes
npm-run-all-p watch-css start-js,. Is there any way to speed up the start of the project

?
May.12,2021

search webpack dll plugin for a try, maybe you can speed it up a little bit.

but if you want to maximize speed, you have to look at it according to your project.


I searched, this is to speed up the speed of packaging, what I want is the start-up speed of the project, because now it takes a few minutes to execute yarn start startup time, and then every time the code is modified, it will restart automatically, and it will take a few minutes, which seriously slows down the development speed. I don't know if you have encountered such a problem? Thank you for your advice.


the new projects are slow, and that's your computer problem.
switch to a better computer and put the project in solid state


there is something wrong with your webpack configuration. It is impossible to restart the project every time you modify the code.


use webpack-bundle-analysis to analyze your package before asking questions

if the package is too large, optimize the volume.
otherwise, post your configuration and analysis results again

Menu