react-user-media icon indicating copy to clipboard operation
react-user-media copied to clipboard

Warning: Maximum update depth exceeded

Open postrazh opened this issue 5 years ago • 1 comments

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.

postrazh avatar Oct 16 '20 11:10 postrazh

Hi @xie312 thanks for reporting, does this happen for you ? Current dependency array is as follow: [constraints, stream, error]

vardius avatar Oct 16 '20 23:10 vardius