Answered
By default, Create-React-App opens a new browser window when the npm start
command is executed and the application starts.
How can I stop that from happening in my application?
Update the "start"
script in your package.json
file to this:
"scripts": {
"start": "BROWSER=none react-scripts start"
},
BROWSER=none
tells create-react-app to not open a browser when the npm start
command is run.