mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
eabed3aebd8d40cb446c2c7a184cd4c88298dd3f
Currently suspensey images doesn't account for how long we've already
been waiting. This means that you can for example wait for 300ms for the
throttle + 500ms for the images. If a Transition takes a while to
complete you can also wait that time + an additional 500ms for the
images.
This tracks the start time of a Transition so that we can count the
timeout starting from when the user interacted or when the last fallback
committed (which is where the 300ms throttle is computed from). Creating
a single timeline.
This also moves the timeout to a central place which I'll use in a
follow up.
DiffTrain build for [e3f191803c](https://github.com/facebook/react/commit/e3f191803cbe53df360b32f6735b05bb969c55cf)
react-fbsource-import
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%