useFragment
Found in 1 package: apollo-client
apollo-client(8 releases)
@apollo/client@4.1.0This release introduces significant enhancements to cache interaction, including support for array watching via fragments, new options for context in `useMutation`, and expanded support for GraphQL incremental delivery specifications like `@defer` (v17 alpha 9) and `@stream`.
@apollo/client@4.1.0-alpha.9This release adds new cache behavior for undefined array items, introduces an \`extensions\` option to cache write methods, and improves fragment hooks with memoized observable mapping.
@apollo/client@4.1.0-alpha.3This release adds null and array support to fragment watching APIs, introduces a `getCurrentResult` helper, deduplicates duplicate watches for better performance, and includes several bug fixes and incremental delivery updates.
@apollo/client@4.0.0-rc.5BreakingThis release adds improved handling of masked fragments, introduces dataState in watchFragment, normalizes empty argument storage, and updates cache read behavior, while deprecating old readFragment/readQuery signatures and removing gql from the react entrypoint.
@apollo/client@4.0.0-rc.4Introduces `dataState` and customizable `DataValue` types for `useFragment` and `useSuspenseFragment`.
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.
v3.12.8Patch release fixing a crash in watchFragment/useFragment with @includes and removing the unused response-iterator dependency.
Track Symbol Changes
Use the Change8 MCP server or GitHub Action to get notified when useFragment changes.
Learn More