Closed justingrant closed 2 years ago
The actual components save their DisplayName. For example: https://codesandbox.io/s/why-did-you-render-sandbox-forked-9ziy0
It looks like the problem might be with one specific component that WDYR uses to wrap your own component. I'd investigate this specific issue a little further.
Also is it possible WDYR is used on an "input" component somehow?
When React displays a call stack in the debug console that includes components patched by WDYR, there's no way to know which component caused the problem. Any idea how to discover which actual component is causing the problem, other than disabling WDYR and running the debug session again?
Here's an example call stack I just got: