<?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: Gudoop</title>
    <description>The latest articles on Forem by Gudoop (@spyvarade).</description>
    <link>https://forem.com/spyvarade</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%2F1775192%2F18238053-6abf-42cf-ab61-00b5dfdc412b.png</url>
      <title>Forem: Gudoop</title>
      <link>https://forem.com/spyvarade</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/spyvarade"/>
    <language>en</language>
    <item>
      <title>I Built a Type-Safe Todo App in React with useReducer — What I Learned</title>
      <dc:creator>Gudoop</dc:creator>
      <pubDate>Fri, 18 Jul 2025 16:57:00 +0000</pubDate>
      <link>https://forem.com/spyvarade/i-built-a-type-safe-todo-app-in-react-with-usereducer-what-i-learned-c98</link>
      <guid>https://forem.com/spyvarade/i-built-a-type-safe-todo-app-in-react-with-usereducer-what-i-learned-c98</guid>
      <description>&lt;p&gt;Hey devs 👋&lt;/p&gt;

&lt;p&gt;I recently built a simple but powerful &lt;strong&gt;Todo List App&lt;/strong&gt; using &lt;strong&gt;React&lt;/strong&gt;, &lt;strong&gt;TypeScript&lt;/strong&gt;, and &lt;code&gt;useReducer&lt;/code&gt;, and I wanted to share what I learned in the process.&lt;/p&gt;

&lt;p&gt;This project helped me understand:&lt;/p&gt;

&lt;p&gt;✅ How &lt;code&gt;useReducer&lt;/code&gt; can simplify state logic&lt;br&gt;&lt;br&gt;
✅ Writing type-safe actions and reducers&lt;br&gt;&lt;br&gt;
✅ Persisting todos using &lt;code&gt;localStorage&lt;/code&gt;&lt;br&gt;&lt;br&gt;
✅ Clean, maintainable structure in React&lt;/p&gt;

&lt;p&gt;Here’s the full breakdown of how I built it and what I took away from it:&lt;br&gt;
👉 &lt;a href="https://gudoop.com/2025/07/18/build-a-simple-type-safe-todo-app-in-react-with-usereducer-typescript" rel="noopener noreferrer"&gt;Read the blog&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm still learning, and this was a valuable experience for me — would love your thoughts or suggestions!&lt;/p&gt;

&lt;p&gt;Happy coding &lt;/p&gt;

</description>
      <category>react</category>
      <category>typescript</category>
      <category>webdev</category>
      <category>reactjsdevelopment</category>
    </item>
    <item>
      <title>The Dark Side of React Hooks: Pitfalls, Gotchas &amp; How to Avoid Them</title>
      <dc:creator>Gudoop</dc:creator>
      <pubDate>Thu, 17 Jul 2025 12:34:15 +0000</pubDate>
      <link>https://forem.com/spyvarade/the-dark-side-of-react-hooks-pitfalls-gotchas-how-to-avoid-them-49lf</link>
      <guid>https://forem.com/spyvarade/the-dark-side-of-react-hooks-pitfalls-gotchas-how-to-avoid-them-49lf</guid>
      <description>&lt;p&gt;React Hooks are powerful — but with great power comes great responsibility. In our latest deep-dive, we explore the hidden traps developers often fall into when using hooks like useEffect, useState, useMemo, and more.&lt;/p&gt;

&lt;p&gt;🔍 What you’ll learn:&lt;br&gt;
✅ Common mistakes like stale closures&lt;br&gt;
✅ The danger of duplicated logic&lt;br&gt;
✅ How to avoid excessive renders&lt;br&gt;
✅ The truth about the dependency array&lt;br&gt;
✅ Real-world fixes and anti-pattern solutions&lt;br&gt;
✅ How to turn messy logic into clean custom hooks&lt;/p&gt;

&lt;p&gt;👨‍💻 Practical examples and snippets included!&lt;/p&gt;

&lt;p&gt;👉 Read here: &lt;a href="https://gudoop.com/2025/07/17/the-dark-side-of-react-hooks-pitfalls-gotchas-and-how-to-avoid-them/" rel="noopener noreferrer"&gt;https://gudoop.com/2025/07/17/the-dark-side-of-react-hooks-pitfalls-gotchas-and-how-to-avoid-them/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>reactjsdevelopment</category>
      <category>frontend</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>5 Reusable React Hook Recipes for Everyday Development</title>
      <dc:creator>Gudoop</dc:creator>
      <pubDate>Thu, 17 Jul 2025 06:15:27 +0000</pubDate>
      <link>https://forem.com/spyvarade/5-reusable-react-hook-recipes-for-everyday-development-30h6</link>
      <guid>https://forem.com/spyvarade/5-reusable-react-hook-recipes-for-everyday-development-30h6</guid>
      <description>&lt;p&gt;React developers often face the same logic challenges over and over — debounced inputs, outside click detection, screen resizing, and more.&lt;/p&gt;

&lt;p&gt;I wrote a guide that walks through &lt;strong&gt;5 essential custom React hook recipes&lt;/strong&gt; with real-world usage:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;useDebounce&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;useLocalStorage&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;useClickOutside&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;useWindowSize&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;usePrevious&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each comes with practical examples you can plug directly into your app.&lt;/p&gt;

&lt;p&gt;🧠 Read it here:&lt;br&gt;&lt;br&gt;
👉 &lt;a href="https://gudoop.com/2025/07/17/5-reusable-react-hook-recipes-for-everyday-development/" rel="noopener noreferrer"&gt;https://gudoop.com/2025/07/17/5-reusable-react-hook-recipes-for-everyday-development/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's write smarter code. 🚀  &lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Async Logic in React: Fetching, Caching, and Cleaning Up with Hooks</title>
      <dc:creator>Gudoop</dc:creator>
      <pubDate>Wed, 16 Jul 2025 17:20:14 +0000</pubDate>
      <link>https://forem.com/spyvarade/async-logic-in-react-fetching-caching-and-cleaning-up-with-hooks-9kc</link>
      <guid>https://forem.com/spyvarade/async-logic-in-react-fetching-caching-and-cleaning-up-with-hooks-9kc</guid>
      <description>&lt;p&gt;👉 &lt;a href="https://gudoop.com/2025/07/16/async-logic-in-react-fetching-caching-and-cleaning-up-with-hooks/" rel="noopener noreferrer"&gt;Async Logic in React: Fetching, Caching, and Cleaning Up with Hooks&lt;br&gt;
&lt;/a&gt;&lt;br&gt;
This isn’t another useEffect + fetch tutorial. In this post, I go deeper into:&lt;/p&gt;

&lt;p&gt;Handling fetch with proper cleanup&lt;/p&gt;

&lt;p&gt;Using AbortController to avoid memory leaks&lt;/p&gt;

&lt;p&gt;Caching responses using useRef or useMemo&lt;/p&gt;

&lt;p&gt;Clean, readable code examples&lt;/p&gt;

&lt;p&gt;Perfect for intermediate to advanced React developers.&lt;br&gt;
Let’s stop async chaos — one hook at a time.&lt;/p&gt;

&lt;h1&gt;
  
  
  react #javascript #webdev #async #frontend #hooks #performance
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>How React Hooks Work Under the Hood: The Mental Model Explained Simply</title>
      <dc:creator>Gudoop</dc:creator>
      <pubDate>Tue, 15 Jul 2025 15:19:24 +0000</pubDate>
      <link>https://forem.com/spyvarade/how-react-hooks-work-under-the-hood-the-mental-model-explained-simply-3ej5</link>
      <guid>https://forem.com/spyvarade/how-react-hooks-work-under-the-hood-the-mental-model-explained-simply-3ej5</guid>
      <description>&lt;p&gt;Mastering React Hooks: Unraveling the Magic Under the Hood! ✨&lt;/p&gt;

&lt;p&gt;Ever wondered how useState "remembers" your state, or why useEffect runs when it does? If you've used React Hooks, you've likely felt their power, but perhaps also their mystery.&lt;/p&gt;

&lt;p&gt;My latest blog post dives deep into "The Hook Mental Model: How React Hooks Actually Work." Forget complex jargon; I break down the core concepts into simple, understandable terms, explaining why the order of your Hooks matters so much.&lt;/p&gt;

&lt;p&gt;This isn't just another tutorial – it's a conceptual guide to building a solid understanding that will help you:&lt;/p&gt;

&lt;p&gt;Debug faster 🐛&lt;/p&gt;

&lt;p&gt;Write cleaner components 🧹&lt;/p&gt;

&lt;p&gt;Avoid tricky state issues 🚧&lt;/p&gt;

&lt;p&gt;Stop treating Hooks like magic and start understanding their true mechanics. Read the full post here:&lt;br&gt;
🔗 &lt;a href="https://gudoop.com/2025/07/15/how-react-hooks-work-under-the-hood-the-mental-model-explained-simply/" rel="noopener noreferrer"&gt;https://gudoop.com/2025/07/15/how-react-hooks-work-under-the-hood-the-mental-model-explained-simply/&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  React #ReactHooks #JavaScript #FrontendDevelopment #WebDevelopment #Programming #SoftwareEngineering
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>React useRef Explained: Real-World Examples for Beginners and Pros</title>
      <dc:creator>Gudoop</dc:creator>
      <pubDate>Tue, 15 Jul 2025 05:59:17 +0000</pubDate>
      <link>https://forem.com/spyvarade/react-useref-explained-real-world-examples-for-beginners-and-pros-egf</link>
      <guid>https://forem.com/spyvarade/react-useref-explained-real-world-examples-for-beginners-and-pros-egf</guid>
      <description>&lt;p&gt;&lt;a href="https://gudoop.com/2025/07/15/react-useref-explained-real-world-examples-for-beginners-and-pros/" rel="noopener noreferrer"&gt;React useRef Explained: Real-World Examples for Beginners and Pros&lt;/a&gt;&lt;/p&gt;

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