---
title: "Discussion on \"Diving deep into useState()\" | Hashnode"
description: "Discussion on \"Diving deep into useState()\". Discovering every aspect of useState from passing numbers to arrays to objects as arguments, to analyzing and correcting common mistakes"
url: "https://hashnode.com/posts/diving-deep-into-usestate/62a06e1a5d95836b6bf62b29"
---

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

Discussion

# [Diving deep into useState()](https://gaganpreetkaurkalsi.hashnode.dev/diving-deep-into-usestate?utm_source=hashnode&utm_medium=feed)

Discovering every aspect of useState from passing numbers to arrays to objects as arguments, to analyzing and correcting common mistakes

Jun 5, 2022 · 13 min read · gaganpreetkaurkalsi.hashnode.dev  
Read the article

-   [#usestate](https://hashnode.com/tag/usestate)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#strictmode](https://hashnode.com/tag/strictmode)

## Written by

[Gaganpreet Kaur Kalsi](https://hashnode.com/@gagansinghkalsi)

@gagansinghkalsi · Punjab, India

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

Frontend Developer | Open Source | Freelancer

A Front-End developer who’s passionate about building user-friendly, aesthetic and pixel-perfect applications.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
