---
title: "Discussion on \"How useState works in React.js (Rendering, Asynchronous, Batch and more)\" | Hashnode"
description: "Discussion on \"How useState works in React.js (Rendering, Asynchronous, Batch and more)\". How useState works under the hood in React.js.why do we need this type of state management? why don't we update the state directly? how setState triggered?"
url: "https://hashnode.com/posts/how-usestate-works-in-reactjs-rendering-asynchronous-batch-and-more/638e65e85524325cb0463fc7"
---

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

Discussion

# [How useState works in React.js (Rendering, Asynchronous, Batch and more)](https://sahedthought.hashnode.dev/how-usestate-works-in-reactjs-rendering-asynchronous-batch-and-more?utm_source=hashnode&utm_medium=feed)

How useState works under the hood in React.js.why do we need this type of state management? why don't we update the state directly? how setState triggered?

Dec 5, 2022 · 5 min read · sahedthought.hashnode.dev  
Updated Dec 8, 2022  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#state-management](https://hashnode.com/tag/state-management)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#usestate](https://hashnode.com/tag/usestate)
-   [#rendering](https://hashnode.com/tag/rendering)

## Written by

[Md.Al-Amin Sahed](https://hashnode.com/@sahed)

@sahed · Bangladesh

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

JS programmer

I am a javascript developer from Bangladesh. I love to work with javascript modern frameworks and libraries. Although I have a sour and sweet relationship with programming.🥺

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
