Skip to content

Commit 142b995

Browse files
authored
docs: add missing options in useQuery's api reference (TanStack#753)
useQuery's API reference code is missing these while they are in the options below it - refetchIntervalInBackground, initialData, initialStale,
1 parent 316bce5 commit 142b995

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/src/pages/docs/api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ const {
2828
cacheTime,
2929
refetchOnWindowFocus,
3030
refetchInterval,
31+
refetchIntervalInBackground,
3132
queryFnParamsFilter,
3233
refetchOnMount,
3334
isDataEqual,
3435
onError,
3536
onSuccess,
3637
onSettled,
38+
initialData,
39+
initialStale,
3740
useErrorBoundary,
3841
})
3942

0 commit comments

Comments
 (0)