Just learned the basic concept of react: Intro & Installation
React is an open-source JavaScript library for building interactive and dynamic user interfaces
It was developed and is maintained by Facebook.
To get started with react,
you'll need Node.js and Node Package Manager installed on your system why beacuse they provide the necessary runtime environment, package management, and tools to create, build, and manage React apps.
you can install from the official website https://t.co/BRgERMoXz0
After a successful installation,
To create a react app,
you open your terminal or command prompt to run the comand
npx create-react-app react-app
Here, react-app
is the name you choose for your project.
To run a react app,
you need to be on your app directory. And to do that change directory, run the command
cd react-app
Finally,to open a React app in a web browser, allowing any changes you make to your code reflect in real-time,
run the command
npm start
You can access your React app in a web browser at http://localhost:3000/.
And that's it!! 🎉🥳🎊
Top comments (0)