From 9aa3eed822a7336a64d9ad84ee4a7dd3840b0f3e Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 18 Dec 2024 13:25:01 -0700 Subject: [PATCH] Add changeset --- .changeset/blue-comics-train.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/blue-comics-train.md diff --git a/.changeset/blue-comics-train.md b/.changeset/blue-comics-train.md new file mode 100644 index 00000000000..6001d50d059 --- /dev/null +++ b/.changeset/blue-comics-train.md @@ -0,0 +1,9 @@ +--- +"@apollo/client": minor +--- + +Add a new `useSuspenseFragment` hook. + +`useSuspenseFragment` suspends until `data` is complete. It is a drop-in +replacement for `useFragment` when you prefer to use Suspense to control the +loading state of a fragment.