pota/use/dom

pota/use/dom is the low-level DOM helper module the renderer itself uses. It re-exports a few platform globals pre-bound to document and wraps the imperative APIs that pota's internals lean on — attribute / class / part manipulation, tree walking, and a couple of niche utilities like isPlaying and cleanJSXText. Most app code doesn't need it; it's documented because it ships as a public subpath.

Exports

Notes

Pre-bound creators (createElement, createTextNode, …) are bound to document, so calls are a method dispatch lighter than the platform versions and can be passed around as values. The attribute / class / part helpers are direct passthroughs over their Element counterparts — prefer JSX attributes / properties or class:* in components; these are imperative escape hatches for library code.