useAsyncValue
Returns the resolved data from the closest <Await> ancestor component.
<Await>
function SomeDescendant() { const value = useAsyncValue(); // ... }
<Await resolve={somePromise}> <SomeDescendant /> </Await>
Guides
API
<Await/>
useAsyncError