Currently we don't have any limit on the number of toasts that can be added to the state. However, there is a requirement I am facing at the moment which states that there should be at most 5 toasts visible on screen at a given time. I believe we can control this behaviour by providing a prop to the ToastProvider and setting up the Toasts for a particular project. By default, we wouldn't add a limit to the number of toasts, but this way we would give a way to control this on the project level.
Currently we don't have any limit on the number of toasts that can be added to the state. However, there is a requirement I am facing at the moment which states that there should be at most 5 toasts visible on screen at a given time. I believe we can control this behaviour by providing a prop to the ToastProvider and setting up the Toasts for a particular project. By default, we wouldn't add a limit to the number of toasts, but this way we would give a way to control this on the project level.