An overview of the most important Lifecycle methods

Photo by Markus Spiske on Unsplash

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.

So what is the React Lifecycle?

The Lifecycle describes all the possible events a component will go through. It primarily consists of three stages as illustrated in the diagram below.

Abhiram Sinnarajah

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store