Skip to content

Commit 0cd9c5f

Browse files
committed
Tweak intro
1 parent 5febf04 commit 0cd9c5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/data/queries.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ For more information, see [Handling operation errors](./error-handling/).
254254

255255
When React renders a component that calls `useQuery`, Apollo Client automatically executes the corresponding query. But what if you want to execute a query in response to a user interaction, such as a user clicking a button?
256256

257-
The [`useLazyQuery`](../api/react/useLazyQuery) hook is suited for manually executing queries. Unlike `useQuery`, when you use `useLazyQuery`, it does not immediately execute its associated query. Instead, it returns an execution function in its result tuple that you call whenever you're ready to execute the query.
257+
The [`useLazyQuery`](../api/react/useLazyQuery) hook is suited for manually executing queries. Unlike `useQuery`, when you use `useLazyQuery`, it does not immediately execute its associated query. Instead, it returns an execution function that you call whenever you need to execute the query.
258258

259259
Here's an example:
260260

0 commit comments

Comments
 (0)