From 0f9f34a480c9e05bc6152dcb72b7af22e602e316 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 24 Jan 2024 12:23:43 -0700 Subject: [PATCH] Present tense --- docs/source/data/suspense.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/data/suspense.mdx b/docs/source/data/suspense.mdx index e13d52c9e89..a332922a7ca 100644 --- a/docs/source/data/suspense.mdx +++ b/docs/source/data/suspense.mdx @@ -759,9 +759,9 @@ We begin loading `GET_BREEDS_QUERY` outside of React with the `preloadQuery` fun #### Accessing query ref handlers produced from other hooks -`useQueryRefHandlers` is not limited to the `preloadQuery` API and can be used with any hook that produces a `queryRef` such as `useBackgroundQuery` or `useLoadableQuery`. This can be useful in situations where you may need access to the `refetch` and `fetchMore` functions in components where the `queryRef` was passed through deeply. +`useQueryRefHandlers` is not limited to the `preloadQuery` function and can be used with any hook that produces a `queryRef` such as `useBackgroundQuery` or `useLoadableQuery`. This is useful in situations where you need access to the `refetch` and `fetchMore` functions in components where the `queryRef` is passed through deeply. -Let's update our last example back to `useBackgroundQuery` and get access to `refetch` from `useQueryRefHandlers` in our `Dog` component without passing the `refetch` function from the parent. +Let's update our last example back to `useBackgroundQuery` and get the `refetch` function from the `useQueryRefHandlers` hook in the `Dog` component. ```tsx {15,16,18-22,30} function App() {