---
title: "Discussion on \"When It's Not Good to Use React State\" | Hashnode"
description: "Discussion on \"When It's Not Good to Use React State\". In React, whenever we are working with any data, we always use the state for storing that data which may be a string, number or any complex object.\n\nThis is fine if you are using that state while rendering the component or If you want to do something..."
url: "https://hashnode.com/posts/when-its-not-good-to-use-react-state/608503ade1555b2a98aaa921"
---

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

Discussion

# [When It's Not Good to Use React State](https://blog.yogeshchavan.dev/when-its-not-good-to-use-react-state?utm_source=hashnode&utm_medium=feed)

In React, whenever we are working with any data, we always use the state for storing that data which may be a string, number or any complex object. This is fine if you are using that state while rendering the component or If you want to do something...

Apr 25, 2021 · 3 min read · blog.yogeshchavan.dev  
Updated Apr 26, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)

## Written by

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

@myogeshchavan97 · India

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

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. https://yogeshchavan.dev/. Book 1:1 @ hiretheauthor.com/myogeshchavan97

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. Loves sharing knowledge through technical articles. Dev.to: https://dev.to/myogeshchavan97 https://linktr.ee/myogeshchavan97

## Responses 2

Markdown supported · ⌘↵ to post

[anil kapse](https://hashnode.com/@anilkapse)

[May 21, 2022](https://hashnode.com/posts/when-its-not-good-to-use-react-state/608503ade1555b2a98aaa921/comment/628880f19490454c4d84789b)

Hey, [Yogesh Chavan](https://hashnode.com/@myogeshchavan97) every time I learn something new from your post, keep posting it really help.

Thanks for sharing.

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[May 21, 2022](https://hashnode.com/posts/when-its-not-good-to-use-react-state/608503ade1555b2a98aaa921/comment/628880f19490454c4d84789b#reply-628896c09490454c4d847b35)

Glad to hear that [anil kapse](https://hashnode.com/@anilkapse). Thank you 🙏

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[May 4, 2021](https://hashnode.com/posts/when-its-not-good-to-use-react-state/608503ade1555b2a98aaa921/comment/6090e625150acd02607145c7)

I found this tip really helpful and anticipating your Redux course.

thanks for sharing [Yogesh Chavan](https://hashnode.com/@myogeshchavan97).

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[May 4, 2021](https://hashnode.com/posts/when-its-not-good-to-use-react-state/608503ade1555b2a98aaa921/comment/6090e625150acd02607145c7#reply-6090edb8953edb0234b831af)

Thank you so much [Ayodele Samuel Adebayo](https://hashnode.com/@Unclebay)
