Skip to main content

FAQs

Q: Where can I get a dialog component?

Check out some popular UI libraries such as shadcn or MUI.

Q: Can I use react-dialog-async with React Native?

Yep, see more info here.

Q: Do I have to use my dialog component with useDialog?

No, you can still use your dialogs like regular components. Just make sure to pass in the required props:

return (
<MyDialog open={...} handleClose={...} data={...} />
)

Q: Does react-dialog-async use createPortal?

No, react-dialog-async renders dialogs directly as children of the DialogProvider. This is because most UI libraries already handle portal behaviour, so doing it again would be redundant.