| id | useSuspenseQuery |
|---|---|
| title | useSuspenseQuery |
const result = useSuspenseQuery(options)Options
The same as for useQuery, except for:
throwOnErrorenabledplaceholderData
Returns
Same object as useQuery, except that:
datais guaranteed to be definedisPlaceholderDatais missingstatusis eithersuccessorerror- the derived flags are set accordingly.
Caveat
Cancellation does not work.