When you are working with React, the two important concepts which come often to your mind are the functional component and the class based component.
By using functional components – you can achieve better & faster performance and it’s also an easy way to test React components because it provides simple and shorter code.
In this video, we’ll the difference between class components & functional components.