Reparent HTML Elements
"
svelte-reparent
is a small, safe Svelte utility that allows for reparenting HTML elements within the Svelte tree.It uses a
limbo
to store the component to be moved around, and differentportals
that the component can move to.limbo
is an invisible component, and any thing inside of it will be hidden.portals
are the visible components that the component can move to."