From 7efaa70b0a396de6295e08c05bedd9d0974fea7b Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Thu, 25 Jan 2024 11:32:33 -0700 Subject: [PATCH] Add useLoadableQuery to hooks page --- docs/source/api/react/hooks.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/api/react/hooks.mdx b/docs/source/api/react/hooks.mdx index c6e3249253b..33c9f6ed3aa 100644 --- a/docs/source/api/react/hooks.mdx +++ b/docs/source/api/react/hooks.mdx @@ -10,6 +10,7 @@ api_doc: - "@apollo/client!useSubscription:function(1)" - "@apollo/client!useApolloClient:function(1)" - "@apollo/client!useReactiveVar:function(1)" + - "@apollo/client!useLoadableQuery:function(1)" --- import UseFragmentOptions from '../../../shared/useFragment-options.mdx'; @@ -477,3 +478,5 @@ const { data } = useSuspenseQuery( In this case, it becomes apparent for TypeScript that there is a direct connection between skipping and the `variables` option - and it will work without unsafe workarounds. + +