I'm a newbie to react.js and i don't know class components.I'm trying hard to understand the react life cycle.
If you need info on React life cycle methods for class components, check here: https://reactjs.org/docs/state-and-lifecycle.html
If you need info on React functional components check here: https://reactjs.org/docs/hooks-overview.html