---
title: "Discussion on \"Understanding the State in React\" | Hashnode"
description: "Discussion on \"Understanding the State in React\". Let us start with the WHY.\nWhy do we need state?\nWhen a component is mounted first, it displays data on the screen. And when an interaction causes a change in data, we expect the component should re-render with the updated value.\nConsider the followi..."
url: "https://hashnode.com/posts/understanding-the-state-in-react/644148dd822e9bb8df88247c"
---

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

Discussion

# [Understanding the State in React](https://dssitachi.hashnode.dev/understanding-the-state-in-react?utm_source=hashnode&utm_medium=feed)

Let us start with the WHY. Why do we need state? When a component is mounted first, it displays data on the screen. And when an interaction causes a change in data, we expect the component should re-render with the updated value. Consider the followi...

Apr 20, 2023 · 5 min read · dssitachi.hashnode.dev  
Read the article

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

## Written by

[Dipesh Shivrame](https://hashnode.com/@dssitachi)

@dssitachi · India

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

Frontend Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
