v0.18.186 - 44.3 / 32

<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

nametypedescription
mountElementElement to portal into. The element should be in the document

# Portaling Children

Portal some children to the body