useLazyQuery
Found in 1 package: apollo-client
apollo-client(11 releases)
@apollo/client@4.2.10This patch release addresses several type-related bugs in Apollo Client, improving the accuracy of return types for mutations, queries with constant variable types, and options passed to various API functions. It also refines the return types for `refetch`, `fetchMore`, and `useLazyQuery` based on the provided `errorPolicy`.
@apollo/client@4.2.1This patch release fixes a bug in useLazyQuery related to applying pollInterval changes between renders.
@apollo/client@4.0.11Patch release fixing refetch behavior for standby queries and replacing `findLast` with compatible methods, plus a hidden option for framework integrations.
@apollo/client@4.0.0BreakingApollo Client 4.0 introduces a framework‑agnostic core, unified error handling, opt‑in local state, a new `dataState` property, and class‑based links, while removing `ApolloError` and several legacy APIs, requiring code migrations.
@apollo/client@4.0.0-alpha.21BreakingAdded streaming support for `@defer` queries with a new `NetworkStatus.streaming` value and changed loading semantics, removed the `context` option from `useLazyQuery`, and made `cache.fragmentMatches` mandatory.
@apollo/client@4.0.0-alpha.17BreakingThis release introduces a new `dataState` property and modifies the `TData` generic handling, removes the deprecated `QueryReference` type, and adds a `.retain()` method to result promises, requiring migration of type signatures and handling of lazy query execution.
v4.0.0-alpha.10BreakingThis release introduces stricter variable handling, new error utilities, and several breaking changes such as removal of `standby` fetchPolicy and deprecation of `never` as a TVariables type.
v4.0.0-alpha.9BreakingThis release introduces automatic loading state emission by default and adds initial loading support for ObservableQuery, while fixing several useLazyQuery and polling behaviors.
v3.13.3Patch release corrects networkStatus reporting for queries with errorPolicy "all", fixing observableQuery, useQuery, and useLazyQuery behavior.
v3.13.0BreakingApollo Client 3.13.0 adds the `useSuspenseFragment` hook, improves TypeScript typings, and fixes several bugs, while deprecating several callbacks and options.
v3.13.0-rc.0This release introduces the useSuspenseFragment hook, improves type safety for updateQuery, adds multipart query deduplication, deprecates several callbacks and options, and includes several bug fixes and type corrections.
Track Symbol Changes
Use the Change8 MCP server or GitHub Action to get notified when useLazyQuery changes.
Learn More