React JS Quiz
Home
Blog
Privacy Policy
Contact Us
React Portals Quiz
What should happen to portal content when the component that renders it unmounts?
Report this question
The portal content unmounts too
Show Explanation
Portal content is tied to the React component that rendered it, so it unmounts with that component.
The portal content stays forever by default
The entire document body is removed
React creates a new route
Next Question (12/20)