What is React Portal? React Portal provide the way to┬árender children into a DOM node that exists outside the DOM hierarchy of the parent component.   Format ReactDOM.createPortal(child, container)   where the child is the Component which will be rendered at the place of the container which is dom node.   Implementation:   render() { […]

Read More →

The ┬áReact v16.0 release was a big one and among the changes are fragments, error boundaries, portals, support for custom DOM attributes, improved server-side-rendering and reduced file size. We will talk about the Portals here. What is React Portal? A way of rendering a child component outside the present Dom-Node-Hierarchy as opposed to the traditional […]

Read More →