Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 617 Bytes

useSuspenseInfiniteQuery.md

File metadata and controls

30 lines (21 loc) · 617 Bytes
id title
useSuspenseInfiniteQuery
useSuspenseInfiniteQuery
const result = useSuspenseInfiniteQuery(options)

Options

The same as for useInfiniteQuery, except for:

  • suspense
  • throwOnError
  • enabled
  • placeholderData

Returns

Same object as useInfiniteQuery, except that:

  • data is guaranteed to be defined
  • isPlaceholderData is missing
  • status is either success or error
    • the derived flags are set accordingly.

Caveat

Cancellation does not work.