Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Parameters

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

Returns

string