In this article I’m going to show you the differences between functional components and class components in react.
There are mainly two components in React:
So before anything let’s understand what is Component?
You can go through this to know more about components and props.
When we describe a component using functional component it is like this,.