GRANDstack Component Timed Refresh?

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

Try passing the pollInterval configuration option to the useQuery hook with an interval in milliseconds. https://www.apollographql.com/docs/react/essentials/queries/#polling

1 Like