Open History to see the last commit
1---
2id: useSuspenseInfiniteQuery
3title: useSuspenseInfiniteQuery
4---
5β
6```tsx
7const result = useSuspenseInfiniteQuery(options)
8```
9β
10**Options**
11β
12The same as for [useInfiniteQuery](./useInfiniteQuery.md), except for:
13β
14- `throwOnError`
15- `enabled`
16β
17**Returns**
18β
19Same object as [useInfiniteQuery](./useInfiniteQuery.md), except that:
20β
21- `data` is guaranteed to be defined
22- `status` is either `success` or `error`
23 - the derived flags are set accordingly.
24β
25When `placeholderData` is defined, the result has `isPlaceholderData: true` until the Query returns its data.
26β
27**Caveat**
28β
29[Cancellation](../guides/query-cancellation.md) does not work.