react/packages/react-debug-tools
Sebastian Markbåge 4c78ac0b9d
Track Event Time as the Start Time for Suspense (#15358)
* Track the earliest event time in this render

Rebase

* Track the time of the fallback being shown as an event time

When we switch back from fallback to content, we made progress and we track
the time from when we showed the fallback in the first place as the
last time we made progress.

* Don't retry if synchronous

* Only suspend when we switch to fallback mode

This ensures that we don't resuspend unnecessarily if we're just retrying
the same exact boundary again. We can still unnecessarily suspend
for nested boundaries.

* Rename timedOutAt to fallbackExpirationTime

* Account for suspense in devtools suspense test
2019-04-09 18:59:39 -07:00
..
npm Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
src Track Event Time as the Start Time for Suspense (#15358) 2019-04-09 18:59:39 -07:00
index.js Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
package.json Add directory details to the package.json of all packages (#14628) 2019-01-18 20:21:12 +00:00
README.md Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00

react-debug-tools

This is an experimental package for debugging React renderers.

Its API is not as stable as that of React, React Native, or React DOM, and does not follow the common versioning scheme.

Use it at your own risk.