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 709fad2 commit 1e269acCopy full SHA for 1e269ac
1 file changed
docs/reference/streamedQuery.md
@@ -40,6 +40,6 @@ const query = queryOptions({
40
- If `TData` is not an array, you must provide a custom `reducer`.
41
- `initialValue?: TData = TQueryFnData`
42
- Optional
43
- - Defines the initial data to be used while the first chunk is being fetched.
+ - Defines the initial data to be used while the first chunk is being fetched, and it is also returned when the stream yields no values.
44
- It is mandatory when custom `reducer` is provided.
45
- Defaults to an empty array.
0 commit comments