本页还没有译文
本页 10 段还没译成日本語,下面显示的是英文原文。useAsyncValue
还没翻译译自英文(reactrouter.com)本页 10 段都还没译
useAsyncValue
Framework Data
Summary
Returns the resolved promise value from the closest <Await>.
function SomeDescendant() {
const value = useAsyncValue();
// ...
}
// somewhere in your app
<Await resolve={somePromise}>
<SomeDescendant />
</Await>;Signature
function useAsyncValue(): unknownReturns
The resolved value from the nearest Await component
AI 翻译查看英文原文