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
I've been running into an issue with Selective Outlines since updating React, Fiber, DREI, and Post-Processing to their latest compatible versions. Now whenever the Selection is active it fills the console with errors saying "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."
Is there a way to get around this? An expected fix on the horizon? Or any guidance in how I can find a compatible version of all these that I can install that won't hit this issue.
From what I can tell the outlines work as expected so I'm not sure how concerned I should be but I don't want to ship a project with this error popping up.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've been running into an issue with Selective Outlines since updating React, Fiber, DREI, and Post-Processing to their latest compatible versions. Now whenever the Selection is active it fills the console with errors saying "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."
See this example using a modified version of the Post Processing Selective Outlines Example project - https://codesandbox.io/p/sandbox/d36mw
Here is the example unedited - https://codesandbox.io/p/sandbox/d36mw
Is there a way to get around this? An expected fix on the horizon? Or any guidance in how I can find a compatible version of all these that I can install that won't hit this issue.
From what I can tell the outlines work as expected so I'm not sure how concerned I should be but I don't want to ship a project with this error popping up.
Beta Was this translation helpful? Give feedback.
All reactions