Skip to content

Commit 5f68a62

Browse files
author
gobbimar
committed
updated documentation
1 parent 14b6241 commit 5f68a62

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/reference/streamedQuery.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ const query = queryOptions({
3737
- Optional
3838
- A function to reduce the streamed chunks into the final data.
3939
- Defaults to a function that appends chunks to the end of the array.
40-
- `placeholderData?: TData = TQueryFnData`
40+
- `initialValue?: TData = TQueryFnData`
4141
- Optional
42-
- Defines the initial data to be used while the first chunk is being fetched.
42+
- Defines the initial data to be used while the first chunk is being fetched.
43+
- It is mandatory when custom `reducer` is provided.
4344
- Defaults to an empty array.

0 commit comments

Comments
 (0)