/ x / ruck@v5.0.0 / Html.mjs

// @ts-check
import { createElement as h } from "react";
/** * React component that renders a basic HTML page for a server side rendered * Ruck app page, with the HTML `lang` set to `"en"` . * @type {import("./serve.mjs").HtmlComponent} */export default function Html({ esModuleShimsScript, importMapScript, headReactRoot, bodyReactRoot, hydrationScript,}) { return h( "html", { lang: "en" }, h("head", null, esModuleShimsScript, importMapScript, headReactRoot), h("body", null, bodyReactRoot, hydrationScript), );}
Ruck is an open source buildless React web application framework for Deno.
GitHub Stars
Go to latest

Version Info

Tagged at
a month ago

External Dependencies