dillon1000/react
Commit
Browse files [DebugTools] Use thenables from the _debugThenableState if available (#34161)
In the case where a Promise is not cached, then the thenable state might contain an older version. This version is the one that was actually observed by the committed render, so that's the version we'll want to inspect. We used to not store the thenable state but now we have it on `_debugThenableState` in DEV. <img width="593" height="359" alt="Screenshot 2025-08-10 at 8 26 04 PM" src="https://github.com/user-attachments/assets/51ee53f3-a31a-4e3f-a4cf-bb20b6efe0cb" />
Changed paths1 file
First-parent comparisonpackages/react-debug-tools/src/ReactDebugHooks.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…