State Management · Senior · Question 26 of 75
What does useSuspenseQuery change?
- ✓Correct answer: Loading is handled by
<Suspense>, errors by an error boundary, anddatais always defined - 2It caches data forever and never refetches
- 3It only works in Server Components
Explanation
No isPending checks inside the component. Caveats: enabled isn't available, and sequential suspending queries create waterfalls - prefetch or use useSuspenseQueries for parallel loading.