<Portal .../>
Portal inserts its children into a different part of the document. It does so without using a wrapper. For portaling children to document.head see <Head/> component instead
Behind the scenes it use render, so in case the container to which we portaled is removed from the document, then the portal is disposed.
# Attributes
name | type | description |
---|---|---|
mount | Element | Element to portal into. The element should be in the document |
# Portaling Children
Portal some children to the body