<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Props on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/props/</link><description>Recent content in Props 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/props/index.xml" rel="self" type="application/rss+xml"/><item><title>Props and Event Handling</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/01-module/007-props-and-event-handling/</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/007-props-and-event-handling/</guid><description>&lt;p class="lead text-primary"&gt;
This document explores how React class components use props and event handling to manage state, pass data, and respond to user interactions. It covers class component structure, state management, parent-child data flow, and practical event handling examples for building interactive UIs.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-class-components-props-and-events"&gt;Introduction to Class Components, Props, and Events&lt;/h2&gt;
&lt;p&gt;React class components are JavaScript classes that extend &lt;code&gt;React.Component&lt;/code&gt;. They encapsulate UI logic, manage state, handle lifecycle events, and define methods for user interaction. Before hooks, class components were the primary way to build complex, stateful React UIs.&lt;/p&gt;</description></item><item><title>React States</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/05-frontend-react/01-module/008-react-states/</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/008-react-states/</guid><description>&lt;p class="lead text-primary"&gt;
This document explores state in React class components, including local and shared state, how state enables dynamic UI updates, and the differences between state and props. It provides practical examples and a comparison table for clear understanding.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-state-in-react"&gt;Introduction to State in React&lt;/h2&gt;
&lt;p&gt;State in React is a plain JavaScript object used to represent information about a component&amp;rsquo;s current situation. State allows components to create dynamic and interactive user interfaces by tracking and responding to changes in data.&lt;/p&gt;</description></item></channel></rss>