Module

x/ruck/createPseudoNode.mjs>default

Ruck is an open source buildless React web application framework for Deno.
Latest
function default
import { default } from "https://deno.land/x/ruck@v8.0.1/createPseudoNode.mjs";

Creates a pseudo DOM node that acts like a parent node for a real DOM node’s child nodes that are between a start and end DOM node, suitable for use as a React app root to hydrate and render tags in a region of the document head where a real DOM node can’t be used to group child nodes.

Only the exact DOM functionality used internally by React is supported; in the future Preact support may be added.

Parameters

startNode

Start DOM node.

endNode

End DOM node.