Skip to content

Commit

Permalink
Add useLoadableQuery to hooks page
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jan 25, 2024
1 parent 00e075c commit 7efaa70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/api/react/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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.

</blockquote>

<FunctionDetails canonicalReference="@apollo/client!useLoadableQuery:function(1)" headingLevel={2} />

0 comments on commit 7efaa70

Please sign in to comment.