Skip to content

Commit 376bbd2

Browse files
authoredApr 12, 2025··
docs: fix documentation on status for suspense hooks (#9008)
* fix documentation on status for suspense hooks * Fix formatting in useSuspenseInfiniteQuery.md
1 parent f16d7af commit 376bbd2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

Diff for: ‎docs/framework/react/reference/useSuspenseInfiniteQuery.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Same object as [useInfiniteQuery](../reference/useInfiniteQuery.md), except that
2222

2323
- `data` is guaranteed to be defined
2424
- `isPlaceholderData` is missing
25-
- `status` is always `success`
25+
- `status` is either `success` or `error`
2626
- the derived flags are set accordingly.
2727

2828
**Caveat**

Diff for: ‎docs/framework/react/reference/useSuspenseQueries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Same structure as [useQueries](../reference/useQueries.md), except that for each
2222

2323
- `data` is guaranteed to be defined
2424
- `isPlaceholderData` is missing
25-
- `status` is always `success`
25+
- `status` is either `success` or `error`
2626
- the derived flags are set accordingly.
2727

2828
**Caveats**

Diff for: ‎docs/framework/react/reference/useSuspenseQuery.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Same object as [useQuery](../reference/useQuery.md), except that:
2121

2222
- `data` is guaranteed to be defined
2323
- `isPlaceholderData` is missing
24-
- `status` is always `success`
24+
- `status` is either `success` or `error`
2525
- the derived flags are set accordingly.
2626

2727
**Caveat**

0 commit comments

Comments
 (0)
Please sign in to comment.