@apollo/client
4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed
Your version
3.14.1 is the newest release of 3.x.
In short
1 new2 fixed
Release note
Patch Changes
Fix an issue where rerendering
useBackgroundQueryafter thequeryRefhad been disposed, either via the auto dispose timeout or by unmountinguseReadQuery, would cause thequeryRefto be recreated potentially resulting in another network request.Allow queryRefs to be disposed of synchronously when a suspense hook unmounts. This prevents some situations where using a suspense hook with the same query/variables as the disposed queryRef accidentally used the disposed queryRef rather than creating a new instance.
Bail out of
executeSubSelectedArraycalls if the array has 0 elements.