Q:

react js tutorial

//With node and npm already installed for basic start

npx create-react-app my-app-name

// if you want to use npm 

npx create-react-app my-app-name --npm

//if you want to use typescript 

npx create-react-app my-app-name --template typescript

yarn start // app will be hosted on localhost:3000

/* start making changes at ./my-app-name/src/App.js
	React documentation: https://reactjs.org/docs/hello-world.html
*/
5
The website below has a great tutorial for beginners.
It explains all the basics you need to know without
overloading you with complexities.
Naturally you can advance to these complexities once
you have the base knowledge.
3
#create your project react
npx create-react-app my-app

#open your folder app
cd my-app

#running your apps
yarn start
#or
npm start
0
ReactDOM.render(  
    <Hello />,   
    document.getElementById("root")  
);
-1

New to Communities?

Join the community