A first-class way to render child components into a DOM node outside of the parent DOM hierarchy defined by the component tree hierarchy.
Using Npm:
$ npm install @ciceksepeti/cui-portal
Using Yarn:
$ yarn add @ciceksepeti/cui-portal
import Portal from "@ciceksepeti/cui-portal";
function Demo() {
return <Portal>I am in a portal appended to body</Portal>;
}