Course lesson

Use the RetryLink in Apollo to retry queries after an error

In this lesson, we'll import the RetryLink from Apollo and use it to automatically retry a given query a few times if there's an error. We'll also look at some of the way we can configure the Retry, including whether to jitter the times between retries....

Duration
5 min
Access
Pro
Transcript
Available

In this lesson, we'll import the RetryLink from Apollo and use it to automatically retry a given query a few times if there's an error. We'll also look at some of the way we can configure the Retry, including whether to jitter the times between retries. Finally, we'll see what links actually are in Apollo, and how it needs a protocol link as the last one in the chain (HttpLink in our case).