---
title: "Discussion on \"Subscribing to local variables from Apollo client with reactive variables\" | Hashnode"
description: "Discussion on \"Subscribing to local variables from Apollo client with reactive variables\". Quick Summary\nWhile using local variables in our application from the apollo client, we can read and update the variables but any changes to the values of these variables do not trigger our component to re-render since we are only \"reading\" the value..."
url: "https://hashnode.com/posts/subscribing-to-local-variables-from-apollo-client-with-reactive-variables/638e278e04ae1b915f51abd0"
---

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

Discussion

# [Subscribing to local variables from Apollo client with reactive variables](https://gzamann.hashnode.dev/subscribing-to-local-variables-from-apollo-client-with-reactive-variables?utm_source=hashnode&utm_medium=feed)

Quick Summary While using local variables in our application from the apollo client, we can read and update the variables but any changes to the values of these variables do not trigger our component to re-render since we are only "reading" the value...

Dec 5, 2022 · 2 min read · gzamann.hashnode.dev  
Read the article

-   [#apollo](https://hashnode.com/tag/apollo)
-   [#state-management](https://hashnode.com/tag/state-management)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#graphql](https://hashnode.com/tag/graphql)
-   [#redux](https://hashnode.com/tag/redux)

## Written by

[Gulshan](https://hashnode.com/@gzamann)

@gzamann · Bangalore, India

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

Frontend Web Developer

I'm a frontend engineer with 5+ years of experience in building modern web-apps. I like to share my experience through writing, hoping to help other devs learn something interesting or useful.

## Responses 1

Markdown supported · ⌘↵ to post

[Gulshan](https://hashnode.com/@gzamann)

[Dec 6, 2022](https://hashnode.com/posts/subscribing-to-local-variables-from-apollo-client-with-reactive-variables/638e278e04ae1b915f51abd0/comment/638eb3bc895a9daa034fcd44)

[glitch.com/edit](https://glitch.com/edit/#!/soapy-notch-transport) Link to the demo with code
