pota/use/intersectionpota/use/intersection wraps IntersectionObserver behind the same
use* / on* pair you find on other document-level emitters
(fullscreen, orientation,
etc.), plus ref factories you attach with use:ref.
Multiple subscribers on the same node share one observer. Cleanup happens automatically when the owning scope disposes — the observer disconnects once the last subscriber unmounts.
useVisible(node, opts?) — signal
accessoronVisible(node, fn, opts?) —
side-effect callbackvisible(handler, opts?) — use:ref
factorylazyImage(opts?) — use:ref
factory for lazy <img> loading