mirror of
https://github.com/TanStack/query.git
synced 2026-11-16 22:50:20 +00:00
466 B
466 B
| id | title |
|---|---|
| useSuspenseQuery | useSuspenseQuery |
const result = useSuspenseQuery(options)
Options
The same as for useQuery, except for:
suspensethrowOnErrorenabledplaceholderData
Returns
Same object as useQuery, except that:
datais guaranteed to be definedisPlaceholderDatais missingstatusis alwayssuccess- the derived flags are set accordingly.