UNPKG

uhtml

Version:
14 lines (11 loc) • 380 B
'use strict'; const render = (require('./shared.js')); /** @typedef {import("../rabbit.js").Hole} Hole */ /** * Render with smart updates within a generic container. * @template T * @param {T} where the DOM node where to render content * @param {(() => Hole) | Hole} what the hole to render * @returns */ module.exports = (where, what) => render(where, what, true);