Module

x/solid/web/src/server-mock.ts>renderToStringAsync

A declarative, efficient, and flexible JavaScript library for building user interfaces.
Go to Latest
function renderToStringAsync
import { renderToStringAsync } from "https://dotland.deno.dev/x/solid@v1.7.12/web/src/server-mock.ts";

Parameters

fn: () => T
optional
options: { timeoutMs?: number; nonce?: string; renderId?: string; }

Returns

Promise<string>