emilkowalski / sonner

An opinionated toast component for React.

Home Page:https://sonner.emilkowal.ski

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Indicate error if `toast()` call did not reach `Toaster`

feelixe opened this issue · comments

Describe the feature / bug 📝:

Would be nice with some way to know when calling toast() if it was successful.

The use-case is in for example Astro where the <Toaster> is in a separate island, and rendering order is uncertain on initial load. With some indication that it failed you could retry at an interval.