React Portals – An API for rendering components outside your app’s DOM hierarchy.
- Perfect for scenarios where CSS styles are restraining your elements.
- You can use it for Modals, Tooltips, Floating menus, Widgets.
- Instead of returning an element in a component’s render method, return a portal.
- A brilliant thing about portals is that a component rendered in a portal acts as if it is still in the React tree