Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A declarative, efficient, and flexible JavaScript library for building user interfaces.
Latest
function renderToString
import { renderToString } from "https://deno.land/x/solid@v1.9.3/web/src/server-mock.ts";

Parameters

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

Returns

string