---
title: "Comment by Ghost on \"useEffect Hook\" | Hashnode"
description: "This is a great tutorial Uday! I&#39;m still trying to wrap my head around useEffect cleanup , as I&#39;ve heard it shouldn&#39;t be always done, just in cases"
url: "https://hashnode.com/posts/useeffect-hook/632f45f53ac18d0d78a02671/comment/63499f0ef54817496976f03f"
---

[Discussion](https://hashnode.com/posts/useeffect-hook/632f45f53ac18d0d78a02671)

Comment [useEffect Hook](https://hashnode.com/posts/useeffect-hook/632f45f53ac18d0d78a02671)

[Ghost](https://hashnode.com/@incognito-)

[Oct 14, 2022](https://hashnode.com/posts/useeffect-hook/632f45f53ac18d0d78a02671/comment/63499f0ef54817496976f03f)

This is a great tutorial Uday! I'm still trying to wrap my head around useEffect cleanup [,](https://www.youtube.com/watch?v=6MsWGuRhaCg) as I've heard it shouldn't be always done, just in cases where memory leaks are guaranteed to happen.
