The ReactJS docs stated we can use
npx create-react-app my-app
to create a React app. But how do we update the create-react-app? Is there a general rule if it is something started by npx? I keep on clicking on some links and reached the site https://create-react-app.dev/ and it has a line:
npm install react-scripts@latest
but I wonder if I run it, it is not -g (global), so will it let us create a React app in any folder? Also when I ran it, it gave:
found 6289 vulnerabilities (4974 low, 306 moderate, 1004 high, 5 critical)
so there seems to be something that needs to be done extra.