--- title: useAsyncValue new: true --- # `useAsyncValue` Returns the resolved data from the nearest `` ancestor component. ```tsx function ProductVariants() { const variants = useAsyncValue(); return
{/* ... */}
; } // Await creates the context for the value ; ``` See the [Deferred Data Guide][deferred] and [`` docs][await docs] for more information. [await docs]: ../components/await [deferred]: ../guides/deferred