A portal renders children into a different place in the DOM (outside the parent's DOM hierarchy), while keeping them in React's component tree — so context, props, and events still work as if they were nested normally.
{ createPortal } ;
() {
(
,
.()
);
}
