The question is published on by Tutorial Guruji team.
I am new to React and learning how to properly create new project. Then I came across
--scripts-version when we create new project with such command:
create-react-app new-project --scripts-version
Why do we need to use
When you use the
create-react-app command to create your React app, it uses
react-scripts to set up your project.
The command line option
--scripts-version is an advanced feature to change which version of
react-scripts is used.
If you are not happy with the way
create-react-app sets up your project, you can fork the
react-scripts repository, change it and then use your version to create your React apps.