What is a React portal?
Component Patterns
Audio flashcard · 0:10Nortren·
What is a React portal?
0:10
A portal lets you render a child component into a DOM node outside of the parent component's DOM hierarchy. It is commonly used for modals, tooltips, and overlays that must visually escape their container.