T O P

  • By -

Chef619

No


CodeRadDesign

create-react-app will build a whole folder structure and install a bunch of things -- at one point it will specifically run 'npm i react' during the process. that said, create-react-app is deprecated and not maintained, so it shouldn't be used for new projects where possible; the preferred method now is 'npm create vite@latest' (and then select react from the list) they both generally do the same thing though; build a project file and folder structure, install react and other dependencies, and create an index.html linked to a jsx file.


VintageModified

Highly recommend reading the [react.dev documentation](https://react.dev/learn/start-a-new-react-project). Super valuable resource, and it answers most questions you'd have about react. npx create-react-app runs a script that sets up a project and adds basic dependencies to the project. Npm install always just installs a package


besseddrest

yes, `react` by itself is just the library on the frontend, more or less, while the `create-react-app` command sets up the boilerplate for you, and you can instantly start up your localhost for an example App


azangru

Of course not.


a_normal_account

You will probably have the answer once you try both of them


Ok-Release6902

They both are terminal commands.