1.0.1 • Published 3 years ago
find-or-create-root v1.0.1
find-or-create-root
A simple utility for identifying a target DOM node, or creating one if none exists. Especially helpful when defining a root element for a React Portal.
A simple utility for identifying a target DOM node, or creating one if none exists. Especially helpful when defining a root element for a React Portal.