const result = useSuspenseQuery(options)
const result = useSuspenseQuery(options)
Options
The same as for useQuery, except for:
Returns
Same object as useQuery, except that:
Caveat
Cancelation does not work.
“This course is the best way to learn how to use React Query in real-world applications.”—Tanner LinsleyGet the course
“This course is the best way to learn how to use React Query in real-world applications.”—Tanner LinsleyGet the course