Using alert like toast with hooks? #6880
wuyuanyi135
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found using the Alert API much more counter-intuitive than using the OverlayToaster hook APIs. In the most cases of using Alert, the user response is expected. With current usage, I have to show the alert by isOpen first, then retrieve the result in the Alert callback. I felt this experience could be more linear if the hook API is supplied.
Is there any reason why the hook API for Alert is not implemented/recommended?
Beta Was this translation helpful? Give feedback.
All reactions