You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The createPortal function allows you to render certain children into a different part of the DOM, such as displaying a modal or a drawer outside of the current DOM structure.
Portal
The createPortal function allows you to render certain children into a different part of the DOM, such as displaying a modal or a drawer outside of the current DOM structure.
One notable thing about
createPortalis we can't use it on the server side. This is why, in the Portal source code of Manine UI, thecreatePortalfunction is invoked after the entire component has been mounted.