We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5ef275 commit 747eea8Copy full SHA for 747eea8
packages/query-core/src/queryClient.ts
@@ -121,7 +121,7 @@ export class QueryClient {
121
122
/**
123
* Imperative (non-reactive) way to retrieve data for a QueryKey.
124
- * Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates.
+ * Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates.
125
*
126
* Hint: Do not use this function inside a component, because it won't receive updates.
127
* Use `useQuery` to create a `QueryObserver` that subscribes to changes.
0 commit comments