React

React is a JavaScript library used for building user interfaces. It enhances JavaScript to develop dynamic web applications. You can get started by following a few straightforward steps.

1-Install nodejs from nodejs.org

Choose all the default options during installation. If the installation was incomplete, it’s better to uninstall Node.js first before reinstalling.
Also, ensure that both the Node.js installation folder and its roaming folder are included in your system’s PATH environment variable.

2-Create your first react app by typing

npx create-react-app first

“first” is the name of the folder where the react files reside. You can choose the name of your choice

3-Run this app by

Changing the directory:

cd first

Then, run this command:

npm start

You can then customize this app by modifying the App.js in the src folder.

Leave a comment