react-native-audio-waveform
react-native-audio-waveform copied to clipboard
Error `Warning: Maximum update depth exceeded.` caused by `setViewLayout`
trafficstars
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