---
title: "Comment by Sai Hari on \"A more advanced guide to the useState Hooks 🕕>🦸‍♀️\" | Hashnode"
description: "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 obj"
url: "https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226/comment/631bb6443e8d6f3497ad111f"
---

[Discussion](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226)

Comment [A more advanced guide to the useState Hooks 🕕>🦸‍♀️](https://hashnode.com/posts/a-more-advanced-guide-to-the-usestate-hooks/631b34b1f73f4734bc051226)

[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
