© 2023 Hashnode
#react-portal
React is a powerful JavaScript library for building user interfaces, but it has one limitation: all elements rendered by a React component must be children of the component's parent DOM node. However, there are certain cases where you may w…
What is a Modal? 🤔 Modals are UI elements that sit on top of an application's main window - often with a layer of transparency behind them to give users a peek into the main application. To return to…
The overlay component provides contextual information and options in the form of an additional layer on top of the current state of the interface. They are either purposefully interruptive like modals…
React is a great UI library that utilizes component-based architecture. In simple words, a React app is built using components that represent specific screens or elements in the app. These components follow the single responsibility princip…