Props
OptionalcrossOrigin?: "anonymous" | "use-credentials"How the element handles crossorigin requests
Optionaldisabled?: booleanWhether the link is disabled
OptionalhrefLang?: stringLanguage of the linked resource
Optionalintegrity?: stringIntegrity metadata used in Subresource Integrity checks
Optionalmedia?: stringApplicable media: "screen", "print", "(max-width: 764px)"
Optionalnonce?: stringThe absolute path of the page to prefetch, e.g. /absolute/path.
OptionalreferrerPolicy?: Referrer policy for fetches initiated by the element
A collection of React elements for <link>
tags
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.