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/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const queryInfo = useQuery({
- If set to a function, the function will be called **once** during the shared/root query initialization, and be expected to synchronously return the initialData
- `initialStale: Boolean | Function() => Boolean`
- Optional
- If set, this will mark the `initialData` any `initialData` provided as stale and will likely cause it to be refetched on mount
- If set, this will mark any `initialData` provided as stale and will likely cause it to be refetched on mount
- If a function is passed, it will be called only when appropriate to resolve the `initialStale` value. This can be useful if your `initialStale` value is costly to calculate.
- `refetchOnMount: Boolean`
- Optional
Expand Down