Most people think it is a framework but it is library
Advantage of ReactJs
const element = <h1>Hello, world!</h1>;
This funny tag syntax is neither a string nor HTML.
It is called JSX, and it is a syntax extension to JavaScript.
JSX stands for JavaScript XML.
JSX allows us to write HTML in React.
JSX makes it easier to write and add HTML in React.
You are not required to use JSX, but JSX makes it easier to write React applications.
const myelement = <h1>React is {5 + 5} times better with JSX</h1>;
class Car extends React.Component { constructor() { super(); this.state = {color: "red"}; } render() { return <h2>I am a Car!</h2>; } }
How to Start Work On it
Install NodeJs 10 X+
Install NPX Or Create React APP