Module

x/ultra/hooks/use-preload.js>default

Zero-Legacy Deno/React Suspense SSR Framework
Go to Latest
function default
import { default } from "https://dotland.deno.dev/x/ultra@v2.2.2/hooks/use-preload.js";

This hook will insert a <link rel="preload" /> tag into the head of the server render document. During client side transitions, this won't do anything.

Parameters

href
props