React Portals

November 4, 2018

react portals let you render a react element in a different place of your real dom while keeping its position in the virtual dom so for example you can make overlays free instead of being nested in 45 divs with their css position & overflows cascading down to them

react portals let you render a react element in a different place of your real dom while keeping its position in the virtual dom so for example you can make overlays free instead of being nested in 45 divs with their css position & overflows cascading down to them