Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/pages/reference/useQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const result = useQuery({
- If set to `['isStale']` for example, the component will not re-render when the `isStale` property changes.
- `onSuccess: (data: TData) => void`
- Optional
- This function will fire any time the query successfully fetches new data.
- This function will fire any time the query successfully fetches new data or the cache is updated via `setQueryData`.
- `onError: (error: TError) => void`
- Optional
- This function will fire if the query encounters an error and will be passed the error.
Expand Down