Explain apollo graphql partialRefetch like I'm five
Robin Kretzschmar
Posted on November 29, 2020
Apollo GraphQL Query hook has an option called partialRefetch
and the docs state:
If true, perform a query refetch if the query result is marked as being partial, and the returned data is reset to an empty Object by the Apollo Client QueryManager (due to a cache miss). The default value is false for backwards-compatibility's sake, but should be changed to true for most use-cases.
Sadly I don't fully get it by reading the docs and searching online.
- What is different for queries using this parameter?
- When to use it?
Please go ahead and ELI5!
💖 💪 🙅 🚩
Robin Kretzschmar
Posted on November 29, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
discuss What factors are essential for productive working relationships between remote teams?
October 11, 2022