in React JS by
Q:
ReactDOM createPortal()

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.

Related questions

0 votes
0 votes
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
  • #reactjs
...