---
title: "Discussion on \"A Beginners Guide to Mastering the useEffect Hook in React\" | Hashnode"
description: "Discussion on \"A Beginners Guide to Mastering the useEffect Hook in React\". Understanding the useEffect hook like a pro"
url: "https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Beginners Guide to Mastering the useEffect Hook in React](https://jpv-1649076767739.hashnode.dev/a-beginners-guide-to-mastering-the-useeffect-hook-in-react?utm_source=hashnode&utm_medium=feed)

Understanding the useEffect hook like a pro

Jun 15, 2022 · 10 min read · jpv-1649076767739.hashnode.dev  
Updated Jun 16, 2022  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#useeffect](https://hashnode.com/tag/useeffect)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[David Herbert](https://hashnode.com/@DaveyHert)

@DaveyHert · Remote

  
[View profile](https://hashnode.com/@DaveyHert)

A Front-end Developer & Technical Writer

I’m a frontend developer who cares deeply about building websites that not only look good but feel effortless to use. I enjoy turning design ideas into clean, responsive, and intuitive interfaces using tools like React, Next.js, JavaScript, HTML, and CSS. My goal is always the same — create experiences that make users feel understood and help brands stand out for the right reasons. Alongside development, I’ve built a strong track record as a technical writer. I’ve written 50+ articles, tutorials, and product guides that simplify complex topics for developers and teams. Many of them rank on Google’s first page and are featured by leading tech companies — something I take real pride in. I’m driven by curiosity, clarity, and craft. Whether it’s refining a UI flow or breaking down a technical concept into something actionable, I care about getting the details right and delivering real value. If you’re looking for someone who blends strong frontend expertise with clear communication and technical storytelling — let’s connect.

## Responses 4

Markdown supported · ⌘↵ to post

[Favourite Jome](https://hashnode.com/@Favourite)

[Jun 16, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62aba4842b2b09182b657147)

Wonderfully explain David!

Funny! I encountered the same re-rendering issue while making a fetch call outside of a useEffect hook recently, I went ahead throwing the memo function in the component, but that didn't solve the re-rendering issue.

Then after some time, I noticed the fetch call was outside a useEffect hook 😂, what a bug I spent some time trying to figure out what was wrong.

Thanks for sharing!

[David Herbert](https://hashnode.com/@DaveyHert)

[Jun 17, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62aba4842b2b09182b657147#reply-62acab382b2b09182b659447)

Lol! We have all been there, myself included. Glad you found it helpful.

[Oussama Moutafatin](https://hashnode.com/@moutafatin)

[Jun 16, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62ab1d411a89c91850b1aa2d)

What about the new behavior of useEffect in React 18

[Samuel Jarvis Adeyemi](https://hashnode.com/@Jarvis147)

[Jun 15, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62aa656f2b2b09182b654654)

Wonderful article David. This helped me to really understand how the useEffect hook really works.

[David Herbert](https://hashnode.com/@DaveyHert)

[Jun 16, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62aa656f2b2b09182b654654#reply-62aaa3722b2b09182b654ad0)

Thanks, Jarvis! I'm glad you found it helpful.

[Omar Saade](https://hashnode.com/@os921)

[Jun 16, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62aa656f2b2b09182b654654#reply-62aad9a71a89c91850b19e25)

[David Herbert](https://hashnode.com/@DaveyHert) Good Job

[David Herbert](https://hashnode.com/@DaveyHert)

[Jun 16, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62aa656f2b2b09182b654654#reply-62aadfa01a89c91850b19f2d)

Thanks [Omarsaade](https://hashnode.com/@os921) :)

[Developer Avocado](https://hashnode.com/@AvocaDEV)

[Jun 15, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62a9fea42b2b09182b653ac6)

Thanks for explanation 👍

[David Herbert](https://hashnode.com/@DaveyHert)

[Jun 16, 2022](https://hashnode.com/posts/a-beginners-guide-to-mastering-the-useeffect-hook-in-react/62a9aa8fb108fb160fbaf81b/comment/62a9fea42b2b09182b653ac6#reply-62aaa3372b2b09182b654acb)

You're welcome :)
