React is a very popular UI framework that’s continuously expanding. Aside from diving deep into trending topics like Hooks or something more advanced like Redux, it’s notable to learn traditional class components as a beginner. We will do just that by starting with the lifecycle of components.
The Lifecycle describes all the possible events a component will go through. It primarily consists of three stages as illustrated in the diagram below.