<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lifecycle on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/lifecycle/</link><description>Recent content in Lifecycle on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Sat, 16 May 2026 17:42:12 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/tags/lifecycle/index.xml" rel="self" type="application/rss+xml"/><item><title>Function Comp Lifecycle</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/02-module/004-function-comp-lifecycle/</link><pubDate>Tue, 29 Jul 2025 08:16:33 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/02-module/004-function-comp-lifecycle/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers the four phases of the React function component lifecycle—mounting, updating, unmounting, and error handling—explaining how hooks like useState and useEffect enable similar control as class lifecycle methods.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="function-component-lifecycle-in-react"&gt;Function Component Lifecycle in React&lt;/h2&gt;
&lt;p&gt;React function components are the core building blocks for user interfaces. Understanding their lifecycle is essential for managing state, side effects, and cleanup throughout a component’s existence.&lt;/p&gt;
&lt;h3 id="lifecycle-phases-overview"&gt;Lifecycle Phases Overview&lt;/h3&gt;
&lt;p&gt;React function components experience four main phases:&lt;/p&gt;</description></item><item><title>Components Lifecycle</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/01-module/009-components-lifecycle/</link><pubDate>Sat, 26 Jul 2025 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/01-module/009-components-lifecycle/</guid><description>&lt;p class="lead text-primary"&gt;
This document explores the lifecycle of React class components, covering the mounting, updating, and unmounting phases, and the key lifecycle methods available in each phase. It explains how these methods interact with the DOM and how developers can use them to control component behavior.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-component-lifecycle"&gt;Introduction to Component Lifecycle&lt;/h2&gt;
&lt;p&gt;React class components have a lifecycle, meaning they go through distinct phases during their existence. The lifecycle consists of three main phases: mounting, updating, and unmounting. Each phase provides specific lifecycle methods that allow developers to control and respond to changes in the component&amp;rsquo;s relationship with the DOM.&lt;/p&gt;</description></item></channel></rss>