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 d6cb962 commit b25e964Copy full SHA for b25e964
docs/reference/useQuery.md
@@ -175,6 +175,9 @@ const result = useQuery({
175
- Optional
176
- Defaults to `false`
177
- If set, any previous `data` will be kept when fetching new data because the query key changed.
178
+- `isDataEqual: (oldData: TData | undefined, newData: TData) => boolean`
179
+ - Optional
180
+ - This function should return boolean indicating whether to use previous `data` (`true`) or new data (`false`) as a resolved data for the query.
181
- `structuralSharing: boolean`
182
183
- Defaults to `true`
0 commit comments