<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>UseEffect on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/useeffect/</link><description>Recent content in UseEffect 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/useeffect/index.xml" rel="self" type="application/rss+xml"/><item><title>External Service</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/03-module/003-external-service/</link><pubDate>Tue, 29 Jul 2025 15:47:06 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/03-module/003-external-service/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers how to connect React applications to external services using APIs. It explains data fetching with Fetch API and Axios, error handling, and best practices for integrating third-party platforms and services.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-external-services-and-apis"&gt;Introduction to External Services and APIs&lt;/h2&gt;
&lt;p&gt;External services are third-party platforms, applications, or systems that your React app connects to over a network. These services provide features, tools, or data via APIs (Application Programming Interfaces), enabling data exchange and integration.&lt;/p&gt;</description></item><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><item><title>Hooks</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/03-module/001-hooks/</link><pubDate>Tue, 29 Jul 2025 15:36:55 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/03-module/001-hooks/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers the purpose, advantages, and best practices of using Hooks in React. It explains how Hooks enable function components to manage state, side effects, and reusable logic, and contrasts standard and custom hooks.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-hooks"&gt;Introduction to Hooks&lt;/h2&gt;
&lt;p&gt;Hooks were introduced in &lt;code&gt;React 16.8&lt;/code&gt; to provide function components with the same capabilities as class components, such as managing state and lifecycle events, without the complexity of classes.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="purpose-and-advantages-of-hooks"&gt;Purpose and Advantages of Hooks&lt;/h2&gt;
&lt;p&gt;Hooks allow function components to access and manage state, handle side effects, and share logic across components. They simplify code, improve readability, and enable more modular and reusable components. Hooks also boost performance and reduce code duplication.&lt;/p&gt;</description></item></channel></rss>