<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Amal Amr Zewita</title>
    <description>The latest articles on Forem by Amal Amr Zewita (@amalzewita154).</description>
    <link>https://forem.com/amalzewita154</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3224161%2F80d7585f-bede-49ac-a88c-881e9701e024.jpeg</url>
      <title>Forem: Amal Amr Zewita</title>
      <link>https://forem.com/amalzewita154</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/amalzewita154"/>
    <language>en</language>
    <item>
      <title>What is useEffect in React?</title>
      <dc:creator>Amal Amr Zewita</dc:creator>
      <pubDate>Fri, 30 May 2025 03:56:07 +0000</pubDate>
      <link>https://forem.com/amalzewita154/what-is-useeffect-in-react-3n7a</link>
      <guid>https://forem.com/amalzewita154/what-is-useeffect-in-react-3n7a</guid>
      <description>&lt;p&gt;&lt;code&gt;useEffect&lt;/code&gt; is a built-in React Hook that lets you run code &lt;strong&gt;after the component renders&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It’s commonly used for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fetching data from APIs&lt;/li&gt;
&lt;li&gt;Setting up subscriptions&lt;/li&gt;
&lt;li&gt;Updating the DOM&lt;/li&gt;
&lt;li&gt;Cleaning up on unmount&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 Basic Example
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
tsx
import { useEffect } from 'react';

useEffect(() =&amp;gt; {
  console.log("Component mounted!");
}, []);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Understanding Redux Toolkit with React: A Beginner-Friendly Guide</title>
      <dc:creator>Amal Amr Zewita</dc:creator>
      <pubDate>Fri, 30 May 2025 03:55:16 +0000</pubDate>
      <link>https://forem.com/amalzewita154/understanding-redux-toolkit-with-react-a-beginner-friendly-guide-5hlf</link>
      <guid>https://forem.com/amalzewita154/understanding-redux-toolkit-with-react-a-beginner-friendly-guide-5hlf</guid>
      <description>&lt;p&gt;Redux is powerful but can feel overwhelming — especially for beginners. That’s where &lt;strong&gt;Redux Toolkit&lt;/strong&gt; comes in.&lt;/p&gt;

&lt;p&gt;Redux Toolkit simplifies state management with minimal boilerplate and built-in best practices. In this post, we'll walk through the basics of using Redux Toolkit in a React app.&lt;/p&gt;




&lt;h2&gt;
  
  
  ✨ Why Redux Toolkit?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Less boilerplate than traditional Redux&lt;/li&gt;
&lt;li&gt;Built-in &lt;code&gt;createSlice&lt;/code&gt;, &lt;code&gt;createAsyncThunk&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Supports Immer for mutation-style syntax&lt;/li&gt;
&lt;li&gt;Powerful devtools integration&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚙️ Setup
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
npm install @reduxjs/toolkit react-redux
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>redux</category>
      <category>tutorial</category>
      <category>react</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to Build a Portfolio Website with React, Redux, and Dev.to Integration</title>
      <dc:creator>Amal Amr Zewita</dc:creator>
      <pubDate>Fri, 30 May 2025 03:46:22 +0000</pubDate>
      <link>https://forem.com/amalzewita154/-how-to-build-a-portfolio-website-with-react-redux-and-devto-integration-2c6a</link>
      <guid>https://forem.com/amalzewita154/-how-to-build-a-portfolio-website-with-react-redux-and-devto-integration-2c6a</guid>
      <description>&lt;p&gt;Creating your own developer portfolio is more than a personal branding project — it's a real-world showcase of your skills. In this post, you'll learn how to build a multi-page React portfolio website with Redux for global state, API integrations, and even a live blog feed using Dev.to's public API.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✨ Features Covered
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;React Router for client-side navigation&lt;/li&gt;
&lt;li&gt;Redux Toolkit for state management&lt;/li&gt;
&lt;li&gt;Axios for HTTP requests&lt;/li&gt;
&lt;li&gt;Responsive design with custom CSS&lt;/li&gt;
&lt;li&gt;Dev.to blog integration (fetching articles via API)&lt;/li&gt;
&lt;li&gt;Skeleton loaders for better UX&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📁 Project Structure
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
/src
  ├── components/
  ├── pages/
  ├── redux/
  ├── App.tsx
  └── main.tsx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>react</category>
      <category>redux</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
