find-or-create-root

A simple utility for identifying a target DOM node, or creating one if none exists.

Browse on unpkg