<Portal .../>
Inserts its children into a different element while keeping them inside the current reactive scope — no wrapper node is added. For portaling into document.head, prefer <Head/> , which also deduplicates title / meta / rel=canonical.
Portaled content is rendered via insert and is owned by the surrounding component: if that component is disposed, the portaled nodes are removed too.
# 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