<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Custom-Hooks on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/custom-hooks/</link><description>Recent content in Custom-Hooks 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, 15 Nov 2025 18:14:57 +0000</lastBuildDate><atom:link href="http://ghafoorsblog.com/tags/custom-hooks/index.xml" rel="self" type="application/rss+xml"/><item><title>Custom Hooks</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/03-module/002-custom-hooks/</link><pubDate>Tue, 29 Jul 2025 15:44:31 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/03-module/002-custom-hooks/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers the use of useEffect and custom hooks in React. It explains how to manage side effects, use dependency arrays, and create reusable logic for function components using custom hooks.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-side-effects-and-useeffect"&gt;Introduction to Side Effects and useEffect&lt;/h2&gt;
&lt;p&gt;In React, a side effect is any operation that affects the application outside the component&amp;rsquo;s render process, such as data fetching, event subscriptions, DOM manipulation, or timers. The &lt;code&gt;useEffect&lt;/code&gt; hook allows function components to perform side effects efficiently.&lt;/p&gt;</description></item></channel></rss>