Latest
function renderToStaticMarkup
import { renderToStaticMarkup } from "https://dotland.deno.dev/x/servest@v1.3.4/vendor/https/dev.jspm.io/react-dom/server.js";

Similar to renderToString, except this doesn't create extra DOM attributes such as data-reactid, that React uses internally. This is useful if you want to use React as a simple static page generator, as stripping away the extra attributes can save lots of bytes.

Returns

string