本页还没有译文
本页 14 段还没译成한국어,下面显示的是英文原文。PrefetchPageLinks
还没翻译译自英文(reactrouter.com)本页 14 段都还没译
PrefetchPageLinks
Framework
Summary
Renders <link rel=prefetch|modulepreload>
tags for modules and data of another page to enable an instant navigation to
that page. <Link prefetch> uses this internally, but you
can render it to prefetch a page for any other reason.
For example, you may render one of this as the user types into a search field to prefetch search results before they click through to their selection.
import { PrefetchPageLinks } from "react-router";
<PrefetchPageLinks page="/absolute/path" />Signature
function PrefetchPageLinks({ page, ...linkProps }: PageLinkDescriptor)Props
page
The absolute path of the page to prefetch, e.g. /absolute/path.
linkProps
Additional props to spread onto the <link> tags, such as crossOrigin,
integrity,
rel,
etc.
AI 翻译查看英文原文