React Portal Basics
A great use case for portals is for use with things like React modals. Anything that uses a stack context can obscure the css position for something like a modal.
The tl;dr is to make a React component a descendent of a HTML element other than
Creating a Portal
1,200+ PEOPLE ALREADY JOINED ❤️️
Get fresh posts + news direct to your inbox.
No spam. We only send you relevant content.