# GRANDstack Component Timed Refresh?

**URL:** <https://community.neo4j.com/t/grandstack-component-timed-refresh/10036>\
**Category:** GraphQL & GRANDstack\
**Tags:** grandstack\
**Created:** [September 10, 2019, 9:52pm UTC](https://community.neo4j.com/t/grandstack-component-timed-refresh/10036 "2019-09-10T21:52:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![schuberthanalytics](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/schuberthanalytics/32/4625_2.png) [@schuberthanalytics](https://community.neo4j.com/u/schuberthanalytics)\
**Post date:** [September 10, 2019, 9:52pm UTC](https://community.neo4j.com/t/grandstack-component-timed-refresh/10036/1 "2019-09-10T21:52:34Z")

</div>

How can you get a GRANDstack component to re-run the query on a schedule (without refreshing the entire page)?

---

<div class="post-metadata">

**Author:** ![nsmith\_piano](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/nsmith_piano/32/6037_2.png) [@nsmith\_piano](https://community.neo4j.com/u/nsmith_piano)\
**Post date:** [September 16, 2019, 3:00pm UTC](https://community.neo4j.com/t/grandstack-component-timed-refresh/10036/2 "2019-09-16T15:00:03Z")

</div>

Try passing the pollInterval configuration option to the useQuery hook with an interval in milliseconds. [Queries - Apollo GraphQL Docs](https://www.apollographql.com/docs/react/essentials/queries/#polling)
