Запитання 2
What are React Portals used for?
Варіанти відповідей
Rendering children into a DOM node outside the parent component's hierarchy, useful for modals, tooltips, and dropdowns.
Improving application performance by lazy loading components.
Managing global state across the application.
Rendering components only on the server without hydration.