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