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

x/pagic/mod.ts>ReactDOMServer.renderToReadableStream

A static site generator powered by Deno + React
Latest
function ReactDOMServer.renderToReadableStream
import { ReactDOMServer } from "https://deno.land/x/pagic@v1.6.3/mod.ts";
const { renderToReadableStream } = ReactDOMServer;

Only available in the environments with Web Streams (this includes browsers, Deno, and some modern edge runtimes).

Parameters

children: ReactNode