Course lesson
Refetch Data with the Apollo Query Component either Manually or on Timed Intervals
In this lesson we will first explore how to manually refetch data for an already executed query to receive the latest state of our data.
- Duration
- 2 min
- Access
- Free
- Transcript
- Available
In this lesson we will first explore how to manually refetch data for an already executed query to receive the latest state of our data.
Later we use polling to refetch the latest state on a timed interval. Polling can be a simple and effective tool to provide an almost real-time experience without the overhead of setting up a WebSocket solution.