island-ssr.ts#
2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.
2
symbols
1
types
1
modules
4
parameters
1
returns
Reference#
moduleisland-ssrOptional adapter-side island SSR. Framework plugins may supply renderIsland to replace island inner HTML at transform t…
Optional adapter-side island SSR.
Framework plugins may supply renderIsland to replace island inner HTML at transform time. The hook receives the original slot HTML so adapters can pass children into their SSR runtime. This helper stays framework-neutral and does not import a framework SSR runtime.
typeRenderIslandFn = (name: string, props: Record<string, unknown>, filePath: string, slotHtml?: string) => string | Promise<string>Optional adapter-side island SSR. Framework plugins may supply renderIsland to…
Optional adapter-side island SSR.
Framework plugins may supply renderIsland to replace island inner HTML at transform time. The hook receives the original slot HTML so adapters can pass children into their SSR runtime. This helper stays framework-neutral and does not import a framework SSR runtime.
Signature
export type RenderIslandFn = (name: string, props: Record<string, unknown>, filePath: string, slotHtml?: string) => string | Promise<string>Parameters
-
namestring -
propsRecord<string, unknown> -
filePathstring -
slotHtmlstringoptional
Returns
string | Promise<string>