I use react-script to build, and find that the speed is slow (20 + seconds). In addition, I found some articles saying that the build react library is a more time-consuming place, and I don"t know if react-script has a corresponding solution.
I use react-script to build, and find that the speed is slow (20 + seconds). In addition, I found some articles saying that the build react library is a more time-consuming place, and I don"t know if react-script has a corresponding solution.
modify the build
command in package.json
directly, and remove the place where test
is executed.
there is no problem developing simple projects with react-script, which is officially out-of-box.
but it may not be so appropriate for more complex projects. React-script provides a command eject
, which is irreversible, so be careful.
after the execution is completed, it can be targeted and optimized. You can use some analysis tools to analyze it, and then prescribe the right medicine to the case.
Previous: Use splice to remove the specified items in the array, the result is incorrect
Next: What is the difference between Delivery.Ack and Channel.Ack in go's RabbitMQ?