As a beginner some questions roll in our mind and they are :
User Interfaces are basically "What we see". And React is about using components for building things.
- React is Flexible
Learn Once , Write Everywhere.
We can use react for Web Applications using React.js, Static sites using Gatsby, Mobile Applications using React Native, Desktop Applications using Electron and Server rendering using Next.js.
It provides great Developer Experience. It allows rapid development and API in react is simple to learn you would rarely look docs for it. Everything in React is a component which makes our code reusable.
Large number of people use React as compared to Angular and Vue and it is created and maintained by Facebook.
React has good performance as it uses Virtual DOM. Therefore, it allows ReactJS to know when exactly to re-render or when to ignore some specific pieces of DOM because it can detect when the data has changed.
React is easy to test and large number of testing frameworks are present.
Step 1 :
Download and Install your preferred Text Editor. Some text editors which you can use are Sublime Text, Visual Studio Code, Notepad++, Webstorm.
Step 2 :
Local Development Environment
Install latest version of node.js from here
Step 3 :
Create React App
Run these on Command Prompt
- npx create-react-app my-app
- cd my-app
- npm start