I’ve been working with a React project using create-react-app
and I have two options to start the project:
First way:
npm run start
with the definition at the package.json
like this:
"start": "react-scripts start",
Second way:
npm start
What is the difference between these two commands? And, what is the purpose of the react-scripts start
?
I tried to find the definition, but I just found a package with this name. I still don’t know what is the use of this command?