Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/solid@v1.7.2/web/src/server-mock.ts";

Parameters

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

Returns

Promise<string>