React's Portals in 3 minutes

added by JavaScript Kicks
12/17/2018 8:34:11 AM

391 Views

An API for rendering components outside of your app's DOM hierarchy. For those in camp TL;DR scroll down for a demo! Perfect for scenarios where CSS styles are restraining your elements. For example, stacking( z-index) and overflow issues. You could even render things in a new window.


0 comments