---
title: "Discussion on \"Sync React Component with Global Variable\" | Hashnode"
description: "Discussion on \"Sync React Component with Global Variable\". Usually, react component will only read data from states, props or context. Or we can use any third party library such as redux to store global data.This covers most of the cases, but what if we want our component to be sync with a global variable?\nF..."
url: "https://hashnode.com/posts/sync-react-component-with-global-variable/64e75194f13104ce47c30e7c"
---

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

Discussion

# [Sync React Component with Global Variable](https://blog.yaox023.com/sync-react-component-with-global-variable?utm_source=hashnode&utm_medium=feed)

Usually, react component will only read data from states, props or context. Or we can use any third party library such as redux to store global data.This covers most of the cases, but what if we want our component to be sync with a global variable? F...

Aug 24, 2023 · 4 min read · blog.yaox023.com  
Read the article

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

## Written by

[yaox023](https://hashnode.com/@yaox023)

@yaox023 · Tokyo, Japan

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

A Software Developer in Tokyo

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
