← React Beginner Questions - Set 10 Q97

What are React portals used for?

React Beginner Questions - Set 10

Example

createPortal(<Modal />, document.body);

What to notice

← Back to the question list