I’m on a bit of a React journey at the moment, so I’ve decided to write some blog posts about its key concepts. First on my list is the component lifecycle, which I’ve recently had to get my teeth stuck into!

This article provides an explanation of some of the most useful Lifecycle methods, before showing how to translate these methods into React Hooks.

Image for post
Image for post

What is the React component Lifecycle?

Just like humans, React components go through their own lifecycles. These lifecycles are composed of several different phases that can be manipulated to run code at different times in the component’s existence. …

About

Izabellewilding

Freelance Web Developer — Bristol, UK

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