Skip to content

Why do we need ToastProvider when we already have global Toast #105

Answered by arnnis
yongqianvip asked this question in Q&A
Discussion options

You must be logged in to vote

ToastProvider is only meant to be an alternative for users who prefer hooks. It also has better typescript.

You can only use the global toast if you prefer, there is no difference

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yongqianvip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants