react: Bug(devtools): complex types ignored sometimes in useDebugValue
React version: 0.0.0-241c4467e (current next) and 16.12.0
Devtools: 4.4.0 (1/3/2020). […] Created from revision f749045a5 on 1/3/2020.
Steps To Reproduce
- Visit https://codesandbox.io/s/usedebugvalue-complex-types-3x877
- Inspect
AppComponent NoHooksAtAlldisplays no hooks at allIgnoredComplexValuedisplayes the custom hook but without a valueNoHooksAtAlldisplays the custom hook with its value
Link to code example:
The current behavior
Complex values (and custom hooks) are sometimes not displayed
The expected behavior
Implementation of components and hooks should not affect if these are displayed.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (10 by maintainers)
I would like to take a look. 😄