---
title: "Discussion on \"A more advanced guide to the useState Hooks 🕕>🦸‍♀️\" | Hashnode"
description: "Discussion on \"A more advanced guide to the useState Hooks 🕕>🦸‍♀️\". This article serves as an advanced guide to the useState Hook in React. Some advanced topics, mistakes to avoid, and rules to follow are here"
url: "https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226"
---

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

Discussion

# [A more advanced guide to the useState Hooks 🕕>🦸‍♀️](https://rashmisubhash.hashnode.dev/a-more-advanced-guide-to-the-usestate-hooks?utm_source=hashnode&utm_medium=feed)

This article serves as an advanced guide to the useState Hook in React. Some advanced topics, mistakes to avoid, and rules to follow are here

Sep 9, 2022 · 7 min read · rashmisubhash.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Rashmi Subhash](https://hashnode.com/@RashmiSubhash)

@RashmiSubhash · New Jersey, USA

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

MSCS @Rutgers

I'm a full-stack developer who loves to code 👩🏻‍💻 I enjoy learning new things and am always ready to face new challenges along the way. Embark on this journey with me as I write about tech issues I encounter in my day-to-day work as a developer 💻

## Responses 8

Markdown supported · ⌘↵ to post

[Saanvi](https://hashnode.com/@saanvi55)

[Sep 16, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/63245520dd55cd8b89b1c165)

Excellent article. It explains the usestate hooks very well...!!

Thanks for sharing.🙏🏻

[Nicolas Barlatier](https://hashnode.com/@NBA)

[Sep 12, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631f81e16c86d75accc7ed4f)

I would advise also this post: Under the hood of React's hooks system

[the-guild.dev/blog/react-hooks-system](https://the-guild.dev/blog/react-hooks-system)

[Sai Hari](https://hashnode.com/@TheSSHGuy)

[Sep 9, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631bb6443e8d6f3497ad111f)

Nice post! The first example you gave with the `states` array provides a good mental model of how hooks work internally 👍.

The point about mutating state and object references is really important! I’ve seen those types of bugs so many times. They’re really difficult to find in big apps with many components.

Great job with the article!

[Rashmi Subhash](https://hashnode.com/@RashmiSubhash)

[Sep 10, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631bb6443e8d6f3497ad111f#reply-631c27f13e8d6f3497ad1d72)

Thank you, Sai!! Glad you found it helpful

[Abu Tahir](https://hashnode.com/@Abutahir)

[Sep 9, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b5cbb3e8d6f3497ad0464)

Excellent!! The concepts are so clear!

[Rashmi Subhash](https://hashnode.com/@RashmiSubhash)

[Sep 10, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b5cbb3e8d6f3497ad0464#reply-631c27ba3e8d6f3497ad1d68)

Thank you, Tahir

[Radha Ramamohana Kunnattur](https://hashnode.com/@rkunnattur)

[Sep 9, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b5c7ef73f4734bc051b92)

Awesome blog on useState Hooks! cheers Rashmi, keep going!!

[Rashmi Subhash](https://hashnode.com/@RashmiSubhash)

[Sep 10, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b5c7ef73f4734bc051b92#reply-631c27b03e8d6f3497ad1d63)

Thank you, Radha

[Ashutosh Panwar](https://hashnode.com/@SkeletonKing)

[Sep 9, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b534f3e8d6f3497ad0253)

Very well written. Keep on writing such amazing blogs.

[Rashmi Subhash](https://hashnode.com/@RashmiSubhash)

[Sep 10, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b534f3e8d6f3497ad0253#reply-631c27a13e8d6f3497ad1d5f)

Thank you

[Savitha](https://hashnode.com/@savi9797)

[Sep 9, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b4e6ef73f4734bc051892)

This explained more detailed than previous blog keep going buddy 😍

[Pooja S](https://hashnode.com/@Venus98)

[Sep 9, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b4bdd3e8d6f3497ad00bf)

Great blog

[Rashmi Subhash](https://hashnode.com/@RashmiSubhash)

[Sep 10, 2022](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631b4bdd3e8d6f3497ad00bf#reply-631c279a3e8d6f3497ad1d5a)

Thank you, Pooja
