Search
Star
1.4k
Feedback
Setup for Free
S
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
.
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,267
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
How to re-render <Portal> if target component is removed or added?
S
SolidJS / support
3y ago
Render Portal as Error Boundary Fallback?
S
SolidJS / support
2y ago
How does Portal work?
S
SolidJS / support
3mo ago
How to reduce undefined judgments
S
SolidJS / support
16mo ago