in React JS by
Q:
ReactDOM createPortal()

▼ Show 1 Answer

0 votes
by
ReactDOM.createPortal(child, container)

Creates a portal. Portals provide a way to render children into a DOM node that exists outside the hierarchy of the DOM component.

React JS
Learn More with Madanswer

Related questions

0 votes
0 votes
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima
...