@@ -75,8 +75,6 @@ type BaseFiberRootProperties = {|
75
75
callbackPriority : ReactPriorityLevel ,
76
76
// The earliest pending expiration time that exists in the tree
77
77
firstPendingTime : ExpirationTime ,
78
- // The latest pending expiration time that exists in the tree
79
- lastPendingTime : ExpirationTime ,
80
78
// The earliest suspended expiration time that exists in the tree
81
79
firstSuspendedTime : ExpirationTime ,
82
80
// The latest suspended expiration time that exists in the tree
@@ -130,7 +128,6 @@ function FiberRootNode(containerInfo, tag, hydrate) {
130
128
this . callbackNode = null ;
131
129
this . callbackPriority = NoPriority ;
132
130
this . firstPendingTime = NoWork ;
133
- this . lastPendingTime = NoWork ;
134
131
this . firstSuspendedTime = NoWork ;
135
132
this . lastSuspendedTime = NoWork ;
136
133
this . nextKnownPendingLevel = NoWork ;
@@ -206,10 +203,6 @@ export function markRootUpdatedAtTime(
206
203
if ( expirationTime > firstPendingTime ) {
207
204
root . firstPendingTime = expirationTime ;
208
205
}
209
- const lastPendingTime = root . lastPendingTime ;
210
- if ( lastPendingTime === NoWork || expirationTime < lastPendingTime ) {
211
- root . lastPendingTime = expirationTime ;
212
- }
213
206
214
207
// Update the range of suspended times. Treat everything lower priority or
215
208
// equal to this update as unsuspended.
@@ -237,11 +230,6 @@ export function markRootFinishedAtTime(
237
230
) : void {
238
231
// Update the range of pending times
239
232
root. firstPendingTime = remainingExpirationTime ;
240
- if ( remainingExpirationTime < root . lastPendingTime ) {
241
- // This usually means we've finished all the work, but it can also happen
242
- // when something gets downprioritized during render, like a hidden tree.
243
- root . lastPendingTime = remainingExpirationTime ;
244
- }
245
233
246
234
// Update the range of suspended times. Treat everything higher priority or
247
235
// equal to this update as unsuspended.
0 commit comments