You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After loading 56 files where the waveform data is read from a JSON file, we get the below error that is caused by this line if we follow the Console Warning
Warning: Maximum
update depth exceeded.
can
component calls setState
but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
Precision: I'm using the branch related to this feature where I read data from files, so it seems I'm too fast now and causing this error above when having too many audio file
The text was updated successfully, but these errors were encountered:
🤔 Using two useState in alternate to set the width + height than the x+y, it resolved the problem. I wonder if because the the useState with the same name is called more than 50 times in a row, it detects if it has a depth call problem while in reality, here there are all "in parallel" and separate useState
After loading 56 files where the waveform data is read from a JSON file, we get the below error that is caused by this line if we follow the Console Warning
Precision: I'm using the branch related to this feature where I read data from files, so it seems I'm too fast now and causing this error above when having too many audio file
The text was updated successfully, but these errors were encountered: