const result = useSuspenseQuery(options)
Options
The same as for useQuery, except for:
throwOnError
enabled
placeholderData
Returns
Same object as useQuery, except that:
data is guaranteed to be defined
isPlaceholderData is missing
status is always success
- the derived flags are set accordingly.