Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/live/blocks/loader.ts>LoaderModule

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
interface LoaderModule
implements BlockModule<FnProps<TProps>>
import { type LoaderModule } from "https://deno.land/x/live@1.60.4/blocks/loader.ts";

Type Parameters

optional
TProps = any
optional
TState = any

Properties

optional
cache: "no-store" | "stale-while-revalidate"
optional
cacheKey: (
props: TProps,
req: Request,
ctx: FnContext<TState>,
) => string | null
optional
deprecated
singleFlightKey: SingleFlightKeyFunc<TProps, HttpContext>