Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
function renderToStaticNodeStream
import { renderToStaticNodeStream } from "https://deno.land/x/react_deno@17.0.2/src/react_dom_server.d.ts";

Similar to renderToNodeStream, except this doesn't create extra DOM attributes such as data-reactid, that React uses internally. The HTML output by this stream is exactly equal to what ReactDOMServer.renderToStaticMarkup() would return.

Returns

NodeJS.ReadableStream