-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
Really good library, but what about something like that
const App = () => {
const reactDomAlert = useAlert();
return (
<div id="app">
<AlertContainer />
... some components with logic here
</div>
)
}
so, the main idea to not attach all alerts to document body element, sometimes we need to show alert as static/relative position inside react
willemmulder and swish933
Metadata
Metadata
Assignees
Labels
No labels