---
title: "Discussion on \"State is a Record of the Past, Not a Claim About the Present\" | Hashnode"
description: "Discussion on \"State is a Record of the Past, Not a Claim About the Present\". One of the most common React mistakes I see is using useEffect to keep two pieces of state in sync. It seems intuitive, but it introduces a subtle bug — and more importantly, it reveals a misunderstanding about what state actually represents.\nThe Pro..."
url: "https://hashnode.com/posts/state-is-a-record-of-the-past-not-a-claim-about-the-present/6973d9730995fe230ece9492"
---

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

Discussion

# [State is a Record of the Past, Not a Claim About the Present](https://eng.coloop.ai/state-is-a-record-of-the-past-not-a-claim-about-the-present?utm_source=hashnode&utm_medium=feed)

One of the most common React mistakes I see is using useEffect to keep two pieces of state in sync. It seems intuitive, but it introduces a subtle bug — and more importantly, it reveals a misunderstanding about what state actually represents. The Pro...

Jan 23 · 3 min read · eng.coloop.ai  
Read the article

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

## Written by

[Adrien Wald](https://hashnode.com/@mrlowlevel)

@mrlowlevel

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
