![React components and life cycle: Stateful and stateless, Class-based and functional component & Class component life cycle. React components and life cycle: Stateful and stateless, Class-based and functional component & Class component life cycle.](https://1.bp.blogspot.com/-tcDEL16vr50/Xn77jFegL4I/AAAAAAAAlfc/226K1LaS_poI3qFGmyJn1Yta8vbsc-7_QCLcBGAsYHQ/s1600/Screen%2BShot%2B2020-03-27%2Bat%2B6.49.13%2BPM.png)
React components and life cycle: Stateful and stateless, Class-based and functional component & Class component life cycle.
Is it a way React trying to deprecate Class based component and favor functional component by gearing up React's functional components with 10 different interesting hooks methods? - Quora
![Why do functions in class components need to be structered differently than when in function components? - React.js - Codecademy Forums Why do functions in class components need to be structered differently than when in function components? - React.js - Codecademy Forums](https://global.discourse-cdn.com/codecademy/optimized/5X/b/6/d/a/b6da066a094c95866b3d3f977a68600e84680b93_2_674x500.png)