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
I’m curious about the purpose of the Portal component.
Why not directly use the built-in Teleport component in cases where it’s needed, like in Dialog or ContextMenu? Is the Portal component intended for compatibility reasons or does it offer additional benefits?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I’m curious about the purpose of the
Portal
component.Why not directly use the built-in
Teleport
component in cases where it’s needed, like inDialog
orContextMenu
? Is thePortal
component intended for compatibility reasons or does it offer additional benefits?Thanks in advance for the clarification!
Beta Was this translation helpful? Give feedback.
All reactions