Topic: MDBToast stacking (add more toasts)
                  
                  japan
                  priority
                  asked 2 years ago
                
I'm using MDBToast in stacking format, it works good, when I add only one toast in time. But, when I try to insert more toasts at once, toasts are hidden immediately a elements is rerender too many times with warning:
Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
                
                  FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Opened
Specification of the issue
              - ForumUser: Priority
 - Premium support: Yes
 - Technology: MDB React
 - MDB Version: MDB5 5.1.0
 - Device: PC
 - Browser: Chrome
 - OS: Win10
 - Provided sample code: No
 - Provided link: No
 
Grzegorz Bujański free commented 2 years ago
We are working on it. We will fix it as soon as possible.