---
title: "Discussion on \"Complete beginner's guide on the useState Hooks 🕛>🦸‍♀️\" | Hashnode"
description: "Discussion on \"Complete beginner's guide on the useState Hooks 🕛>🦸‍♀️\". This article serves as a complete beginner's guide to the useState Hook in React. What, When, Why, and How are all answered here."
url: "https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf"
---

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

Discussion

# [Complete beginner's guide on the useState Hooks 🕛>🦸‍♀️](https://rashmisubhash.hashnode.dev/complete-beginners-guide-on-the-usestate-hooks?utm_source=hashnode&utm_medium=feed)

This article serves as a complete beginner's guide to the useState Hook in React. What, When, Why, and How are all answered here.

Sep 2, 2022 · 6 min read · rashmisubhash.hashnode.dev  
Updated Sep 10, 2022  
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 17

Markdown supported · ⌘↵ to post

[Nikhil Kumar](https://hashnode.com/@kinikhil)

[Apr 5, 2023](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/642d9cc6a810a0168a64d32a)

A great blog,especially the codepen examples blew me away.

[Tejveer Naruka](https://hashnode.com/@narukatejveer)

[Oct 10, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6343aa81250857e669eff13b)

Nice Work

[Moiz Alnoor](https://hashnode.com/@moiz-)

[Sep 10, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631ce91e3e8d6f3497ad42a3)

Good work :)

[Shubhankar Bag](https://hashnode.com/@ShubhankarbagCoder)

[Sep 10, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631bf48e3e8d6f3497ad1628)

Great...

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

[Sep 10, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631bf48e3e8d6f3497ad1628#reply-631c27583e8d6f3497ad1d36)

Thanks

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

[Sep 9, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631bb38e3e8d6f3497ad10c2)

Nice introduction to React’s `useState` hook! The lazy initialization is a really useful pattern to know.

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

[Sep 10, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631bb38e3e8d6f3497ad10c2#reply-631c27633e8d6f3497ad1d3c)

Thank you

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

[Sep 7, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6318268b2cef8b07c2f1e8d6)

Easy to understand. Written very thoughtfully and it's beginner-friendly as well.

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

[Sep 10, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6318268b2cef8b07c2f1e8d6#reply-631c274b3e8d6f3497ad1d2b)

Thank you

[Nepali Nerd](https://hashnode.com/@nepalinerd)

[Sep 5, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6315ce7d3abbb7f88d49c952)

Completely new to all this but learning step by step. I am very interested in these stuffs.

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

[Sep 7, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6315ce7d3abbb7f88d49c952#reply-63182f1c2cef8b07c2f1ea20)

Awesome!!

[Kunal Yadav](https://hashnode.com/@kunaaal13)

[Sep 5, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/63158e3304768af286e4f3bd)

Great blog, I was able to revise useState. Looking forward to your react hooks series.

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

[Sep 6, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/63158e3304768af286e4f3bd#reply-6316ba22360c57fcaa77cff5)

Thanks, Kunal

[Shefali](https://hashnode.com/@Shefalipaul)

[Sep 4, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631439e0d49bb9d8c2f75655)

Informative blog, looking forward for more such insightful blogs from you Rashmi! 👏

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

[Sep 10, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631439e0d49bb9d8c2f75655#reply-631c27793e8d6f3497ad1d4c)

Thank you, Shefali

[Venkatesh Kishan Subhash](https://hashnode.com/@Venkatesh10Kishan)

[Sep 4, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631406d8d49bb9d8c2f75096)

A great blog to get an insight into usestate. The breakdown of the matter and the presentation methodology really makes it easy to follow. Waiting for the next one now.

[Uzzal Khan](https://hashnode.com/@uzzalkhan)

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/63138efb041b51e1712e24d4)

good

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631316cd56df9e8e5026222c)

Awesome blog on react hooks @rashmi. Thank you, it's beautiful explained

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631316cd56df9e8e5026222c#reply-63133ca9d49bb9d8c2f733ad)

Thanks, Radha

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6312f1bed49bb9d8c2f72847)

Informative blog Rashmi 👍 Kudos 👏

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6312f1bed49bb9d8c2f72847#reply-63133c95d49bb9d8c2f733a2)

Thank you, Pooja

[hari priya](https://hashnode.com/@haripriya9209)

[Sep 2, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/63122c045f7bcecf2ea4198f)

Awesome blog on useState, looking forward for more blogs from you😀

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/63122c045f7bcecf2ea4198f#reply-63133c8c56df9e8e5026284a)

Thank you, Hari Priya

[Alfiya Siddique](https://hashnode.com/@AlfiyaSiddique)

[Sep 2, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6312280356df9e8e50260471)

Definitely helpful

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6312280356df9e8e50260471#reply-63133c8056df9e8e50262846)

Glad you found it to be helpful 😄

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

[Sep 2, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6312161556df9e8e50260158)

Amazing blog for newbies👏👏

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/6312161556df9e8e50260158#reply-63133c46d49bb9d8c2f73390)

Thank you, Tahir

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

[Sep 2, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631210ea56df9e8e50260071)

Must read I just enjoyed her demo information 👍keep it up buddy👌🏼

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

[Sep 3, 2022](https://hashnode.com/posts/complete-beginners-guide-on-the-usestate-hooks/631208e656df9e8e5025feaf/comment/631210ea56df9e8e50260071#reply-63133c55d49bb9d8c2f73395)

Thank you so much, Savitha
