Reactjs Intro and Installation

Prolog
Reactjs is a JavaScript library for building user interfaces. Reactjs can be used for developing single page application and mobile applications. Complex React applications usually require the use of additional libraries for state management, routing, and interaction with an API. Reactjs is developed and currently maintained by Facebook.
Notable Features
  • Components
  • Functional components
  • Class-based components
  • Virtual DOM
  • Lifecycle methods
  • JSX (Javascript XML)
  • Nested Elements
  • React Redux
  • React Hooks
Install Nodejs
  • For Installing Reactjs first we need to install Nodejs. It will be Nice to use Node version manager tool like NVM to install Nodejs.
  • Get the lastest version of nodejs list from remote by using nvm command
nvm ls-remote

Select the latest stable version and install, for example

node versions

you can choose any LTS versions as like shown in the pic. for installing node

nvm install version

nvm install 10.16.3

then

nvm use version
Install Reactjs
  • To install Reactjs gobally
npm install -g create-react-app