Open gaearon opened 2 years ago
I tried a few times and haven't been able repro so far... Is this a stable repro on your side?
yes it's happening and reproducible !!
Can i look into this issue or any clue @gaearon what could have caused this then let me know i can work on this fix!
I can reproduce this when a Suspense boundary hydrates. The Suspense boundary itself has no width in the flamechart but its children have. So if the siblings of a Suspense boundary have children then the children of the Suspense boundary will overlap with the children of the Suspense boundaries siblings.
Minimal repro: https://codesandbox.io/s/overlapping-flamecharts-6402wk
Suspense boundary not hydrated:
Suspense boundary was hydrated. The new <Expensive />
looks like a child of another <Expensive />
but it's actually a child of a Suspense boundary that has 0 width.
This is still an issue, and I’m encountering this regularly when profiling concurrent rendering or hydration :/
Website or app
https://github.com/reactjs/reactjs.org
Repro steps
yarn dev
Some (but not all) commits appear a bit borked.
How often does this bug happen?
Every time
DevTools package (automated)
No response
DevTools version (automated)
No response
Error message (automated)
No response
Error call stack (automated)
No response
Error component stack (automated)
No response
GitHub query string (automated)
No response