Introduction to React JS
In the Components, we will understand the types and how to reuse of Components.
There are 2 type of Components in react js
1. Stateless Functional Components
2. Statefull Class Components
function New(){
return<h2>Hello</h2>
}
export default New;
1. Components are the parts of user interface
2. Components are reusable can be nested inside the others.