timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.55k stars 313 forks source link

Add option to limit number of toasts per call #280

Closed itbeginswithi closed 1 year ago

itbeginswithi commented 1 year ago

Currently, react-hot-toast v2 does not provide a built-in way to limit the number of toasts that can be displayed for each call to the toast method. This can lead to a large number of toasts being displayed on the screen.

It would be helpful to add an option to limit the number of toasts that can be displayed for each call to the toast method.

timolins commented 1 year ago

Duplicate of #31