ReactDOM
class Object
trait Any
class Object
trait Matchable
class Any
Value members
Concrete methods
React Docs - Creates a portal. Portals provide a way to render children into a DOM node that exists outside the hierarchy of the DOM component.
React Docs - Creates a portal. Portals provide a way to render children into a DOM node that exists outside the hierarchy of the DOM component.
React 16 only
- Value Params
- child
the React node to render inside the selected container
- container
the DOM node to render the child node inside
- Returns
a portal React element