React JSX

It provides us to write an HTML structure in the same file where we write Javascript code. Then, the preprocessor will transform these expressions into the actual Javascript code.

React Components

In react, there are two types of components. They are

  1. Functional Components
  2. Class Components

--

--