SolidJSS
SolidJSโ€ข3y agoโ€ข
4 replies
musiclover

How to not render <Portal> if mount is undefined?

It seems <Portal> always insert to document.body if the mount is null.

But I only want to render the mount has element.
image.png
Was this page helpful?