setTimeout() method's timeoutId initialization problem in useEffect hooks
Closed this issue · 0 comments
dalgudot commented
Whenever the toastState.length is updated, setTimeout() method's timeoutId is initialized.
But this behavior can be good for the user experience. This is because it gives the user enough time to check for multiple toast notifications.