Function based components in react

Function based components are a better way of creating components as compared to class based components. In Function based components, You can implement component lifecycle methods using hooks like useState, useEffect etc.


Complex problems, Simple Solutions