این اسکیل چه میکند؟
راهنمای Sonner، کتابخانهٔ toast در React؛ نصب و راهاندازی Toaster، انتخاب فراخوانی مناسب toast()، toastهای promise و loading، بهروزرسانی، بستن و ماندگارکردن toastها، استایل، تم و آیکون، موقعیت و استفاده از چند toaster.
Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters.
چه زمانی به کار میآید؟
هنگام کار با Sonner یا عیبیابی آن؛ toastهایی که نمایش داده نمیشوند، دوبار ظاهر میشوند، استایلشان را از دست میدهند، کلاسهای Tailwind را نادیده میگیرند، پشت modal قرار میگیرند یا از dark mode پیروی نمیکنند.
when working with Sonner or troubleshooting it — toasts that don't appear, appear twice, lose their styles, ignore Tailwind classes, sit behind a modal, or don't follow dark mode