---
title: "Discussion on \"Understanding useState Hook with a real-world example - Part 1\" | Hashnode"
description: "Discussion on \"Understanding useState Hook with a real-world example - Part 1\". If you are starting with react useState Hook is the first thing that you should understand and practice. \nI started learning React a few months back. When I started, I made a few apps with just useState hook. And then when I learned useContext,useRed..."
url: "https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2"
---

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

Discussion

# [Understanding useState Hook with a real-world example - Part 1](https://janaki2399.hashnode.dev/understanding-usestate-hook-with-a-real-world-example-part-1?utm_source=hashnode&utm_medium=feed)

If you are starting with react useState Hook is the first thing that you should understand and practice. I started learning React a few months back. When I started, I made a few apps with just useState hook. And then when I learned useContext,useRed...

Apr 14, 2021 · 5 min read · janaki2399.hashnode.dev  
Read the article

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

## Written by

[Janaki S](https://hashnode.com/@Janaki23)

@Janaki23 · India

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

Software Engineer

Building and breaking things in web

## Responses 4

Markdown supported · ⌘↵ to post

[Haroon Hayat](https://hashnode.com/@haroonhayat)

[Jul 23, 2022](https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2/comment/62dc3a68b12ca5754f6a4af8)

Excellent and clear-cut explanation. 👍👍👍 Followed ✅

[Surabhi Adak](https://hashnode.com/@surabhiadak)

[Apr 23, 2021](https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2/comment/60823fc0ff5fc65284a77301)

Detailed explanation

[Janaki S](https://hashnode.com/@Janaki23)

[May 4, 2021](https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2/comment/60823fc0ff5fc65284a77301#reply-60915cb3763ca93033366ac7)

Thank you Surabhi

[Kushank Sriraj](https://hashnode.com/@kushanksriraj)

[Apr 15, 2021](https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2/comment/6077eadc4155da32fc83bba0)

`useState` in depth.  
Very nicely explained!

[Janaki S](https://hashnode.com/@Janaki23)

[Apr 15, 2021](https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2/comment/6077eadc4155da32fc83bba0#reply-6077fbb2a3407a32d7042d77)

Thank you Kushank !

[Atul Tameshwari](https://hashnode.com/@codingWolf-at)

[Apr 15, 2021](https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2/comment/6077e5374155da32fc83baee)

Very well explained 🙌

[Janaki S](https://hashnode.com/@Janaki23)

[Apr 15, 2021](https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-1/60773897a3407a32d70421d2/comment/6077e5374155da32fc83baee#reply-6077fbc74155da32fc83bcf7)

Thank you, Atul!
