React’s Portals in 3 minutes
Grasp this awesome API for escaping DOM restraints whilst creating Portals 🕹😎
Published in
4 min readDec 12, 2018
What is it?
An API for rendering components outside of your app’s DOM hierarchy.
ReactDOM.createPortal(<Component/>, DOMElement)