dillon1000/react
Commit
Browse files [Fiber] Assign implicit debug info to used thenables (#34146)
Similar to #34137 but for Promises. This lets us pick up the debug info from a raw Promise as a child which is not covered by `_debugThenables`. Currently ChildFiber doesn't stash its thenables so we can't pick them up from devtools after the fact without some debug info added to the parent. It also lets us track some approximate start/end time of use():ed promises based on the first time we saw this particular Promise.
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberThenable.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…