GeezerVison is showing github.com — Replace SuspenseConfig object with an integer (#19706) · react/react@92fcd46
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/react-debug-tools/src/ReactDebugHooks.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -20,7 +20,7 @@ import type { | 20 | 20 | } from 'react-reconciler/src/ReactInternalTypes'; | 21 | 21 | import type {OpaqueIDType} from 'react-reconciler/src/ReactFiberHostConfig'; | 22 | 22 |
| 23 | | -import type {SuspenseConfig} from 'react-reconciler/src/ReactFiberSuspenseConfig'; | | 23 | +import type {SuspenseConfig} from 'react-reconciler/src/ReactFiberTransition'; | 24 | 24 | import {NoMode} from 'react-reconciler/src/ReactTypeOfMode'; | 25 | 25 |
| 26 | 26 | import ErrorStackParser from 'error-stack-parser'; | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-dom/src/server/ReactPartialRendererHooks.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,7 +15,7 @@ import type { | 15 | 15 | MutableSourceSubscribeFn, | 16 | 16 | ReactContext, | 17 | 17 | } from 'shared/ReactTypes'; | 18 | | -import type {SuspenseConfig} from 'react-reconciler/src/ReactFiberSuspenseConfig'; | | 18 | +import type {SuspenseConfig} from 'react-reconciler/src/ReactFiberTransition'; | 19 | 19 | import type PartialRenderer from './ReactPartialRenderer'; | 20 | 20 |
| 21 | 21 | import {validateContextBounds} from './ReactPartialRendererContext'; | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberClassComponent.new.js +3-7Lines changed: 3 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -56,7 +56,6 @@ import { | 56 | 56 | requestUpdateLane, | 57 | 57 | scheduleUpdateOnFiber, | 58 | 58 | } from './ReactFiberWorkLoop.new'; | 59 | | -import {requestCurrentSuspenseConfig} from './ReactFiberSuspenseConfig'; | 60 | 59 | import {logForceUpdateScheduled, logStateUpdateScheduled} from './DebugTracing'; | 61 | 60 |
| 62 | 61 | import {disableLogs, reenableLogs} from 'shared/ConsolePatchingDev'; | @@ -196,8 +195,7 @@ const classComponentUpdater = { | 196 | 195 | enqueueSetState(inst, payload, callback) { | 197 | 196 | const fiber = getInstance(inst); | 198 | 197 | const eventTime = requestEventTime(); | 199 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 200 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 198 | + const lane = requestUpdateLane(fiber); | 201 | 199 |
| 202 | 200 | const update = createUpdate(eventTime, lane); | 203 | 201 | update.payload = payload; | @@ -227,8 +225,7 @@ const classComponentUpdater = { | 227 | 225 | enqueueReplaceState(inst, payload, callback) { | 228 | 226 | const fiber = getInstance(inst); | 229 | 227 | const eventTime = requestEventTime(); | 230 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 231 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 228 | + const lane = requestUpdateLane(fiber); | 232 | 229 |
| 233 | 230 | const update = createUpdate(eventTime, lane); | 234 | 231 | update.tag = ReplaceState; | @@ -260,8 +257,7 @@ const classComponentUpdater = { | 260 | 257 | enqueueForceUpdate(inst, callback) { | 261 | 258 | const fiber = getInstance(inst); | 262 | 259 | const eventTime = requestEventTime(); | 263 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 264 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 260 | + const lane = requestUpdateLane(fiber); | 265 | 261 |
| 266 | 262 | const update = createUpdate(eventTime, lane); | 267 | 263 | update.tag = ForceUpdate; | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberClassComponent.old.js +3-7Lines changed: 3 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -56,7 +56,6 @@ import { | 56 | 56 | requestUpdateLane, | 57 | 57 | scheduleUpdateOnFiber, | 58 | 58 | } from './ReactFiberWorkLoop.old'; | 59 | | -import {requestCurrentSuspenseConfig} from './ReactFiberSuspenseConfig'; | 60 | 59 | import {logForceUpdateScheduled, logStateUpdateScheduled} from './DebugTracing'; | 61 | 60 |
| 62 | 61 | import {disableLogs, reenableLogs} from 'shared/ConsolePatchingDev'; | @@ -196,8 +195,7 @@ const classComponentUpdater = { | 196 | 195 | enqueueSetState(inst, payload, callback) { | 197 | 196 | const fiber = getInstance(inst); | 198 | 197 | const eventTime = requestEventTime(); | 199 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 200 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 198 | + const lane = requestUpdateLane(fiber); | 201 | 199 |
| 202 | 200 | const update = createUpdate(eventTime, lane); | 203 | 201 | update.payload = payload; | @@ -227,8 +225,7 @@ const classComponentUpdater = { | 227 | 225 | enqueueReplaceState(inst, payload, callback) { | 228 | 226 | const fiber = getInstance(inst); | 229 | 227 | const eventTime = requestEventTime(); | 230 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 231 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 228 | + const lane = requestUpdateLane(fiber); | 232 | 229 |
| 233 | 230 | const update = createUpdate(eventTime, lane); | 234 | 231 | update.tag = ReplaceState; | @@ -260,8 +257,7 @@ const classComponentUpdater = { | 260 | 257 | enqueueForceUpdate(inst, callback) { | 261 | 258 | const fiber = getInstance(inst); | 262 | 259 | const eventTime = requestEventTime(); | 263 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 264 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 260 | + const lane = requestUpdateLane(fiber); | 265 | 261 |
| 266 | 262 | const update = createUpdate(eventTime, lane); | 267 | 263 | update.tag = ForceUpdate; | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberHooks.new.js +19-23Lines changed: 19 additions & 23 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,7 +16,7 @@ import type { | 16 | 16 | import type {Fiber, Dispatcher} from './ReactInternalTypes'; | 17 | 17 | import type {Lanes, Lane} from './ReactFiberLane'; | 18 | 18 | import type {HookEffectTag} from './ReactHookEffectTags'; | 19 | | -import type {SuspenseConfig} from './ReactFiberSuspenseConfig'; | | 19 | +import type {SuspenseConfig} from './ReactFiberTransition'; | 20 | 20 | import type {ReactPriorityLevel} from './ReactInternalTypes'; | 21 | 21 | import type {FiberRoot} from './ReactInternalTypes'; | 22 | 22 | import type {OpaqueIDType} from './ReactFiberHostConfig'; | @@ -70,7 +70,6 @@ import invariant from 'shared/invariant'; | 70 | 70 | import getComponentName from 'shared/getComponentName'; | 71 | 71 | import is from 'shared/objectIs'; | 72 | 72 | import {markWorkInProgressReceivedUpdate} from './ReactFiberBeginWork.new'; | 73 | | -import {requestCurrentSuspenseConfig} from './ReactFiberSuspenseConfig'; | 74 | 73 | import { | 75 | 74 | UserBlockingPriority, | 76 | 75 | NormalPriority, | @@ -1003,8 +1002,7 @@ function useMutableSource<Source, Snapshot>( | 1003 | 1002 | if (!is(snapshot, maybeNewSnapshot)) { | 1004 | 1003 | setSnapshot(maybeNewSnapshot); | 1005 | 1004 |
| 1006 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 1007 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 1005 | + const lane = requestUpdateLane(fiber); | 1008 | 1006 | markRootMutableRead(root, lane); | 1009 | 1007 | } | 1010 | 1008 | // If the source mutated between render and now, | @@ -1024,8 +1022,7 @@ function useMutableSource<Source, Snapshot>( | 1024 | 1022 | latestSetSnapshot(latestGetSnapshot(source._source)); | 1025 | 1023 |
| 1026 | 1024 | // Record a pending mutable source update with the same expiration time. | 1027 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 1028 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 1025 | + const lane = requestUpdateLane(fiber); | 1029 | 1026 |
| 1030 | 1027 | markRootMutableRead(root, lane); | 1031 | 1028 | } catch (error) { | @@ -1441,12 +1438,12 @@ function mountDeferredValue<T>( | 1441 | 1438 | ): T { | 1442 | 1439 | const [prevValue, setValue] = mountState(value); | 1443 | 1440 | mountEffect(() => { | 1444 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1445 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1441 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1442 | + ReactCurrentBatchConfig.transition = 1; | 1446 | 1443 | try { | 1447 | 1444 | setValue(value); | 1448 | 1445 | } finally { | 1449 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1446 | + ReactCurrentBatchConfig.transition = prevTransition; | 1450 | 1447 | } | 1451 | 1448 | }, [value, config]); | 1452 | 1449 | return prevValue; | @@ -1458,12 +1455,12 @@ function updateDeferredValue<T>( | 1458 | 1455 | ): T { | 1459 | 1456 | const [prevValue, setValue] = updateState(value); | 1460 | 1457 | updateEffect(() => { | 1461 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1462 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1458 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1459 | + ReactCurrentBatchConfig.transition = 1; | 1463 | 1460 | try { | 1464 | 1461 | setValue(value); | 1465 | 1462 | } finally { | 1466 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1463 | + ReactCurrentBatchConfig.transition = prevTransition; | 1467 | 1464 | } | 1468 | 1465 | }, [value, config]); | 1469 | 1466 | return prevValue; | @@ -1475,12 +1472,12 @@ function rerenderDeferredValue<T>( | 1475 | 1472 | ): T { | 1476 | 1473 | const [prevValue, setValue] = rerenderState(value); | 1477 | 1474 | updateEffect(() => { | 1478 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1479 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1475 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1476 | + ReactCurrentBatchConfig.transition = 1; | 1480 | 1477 | try { | 1481 | 1478 | setValue(value); | 1482 | 1479 | } finally { | 1483 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1480 | + ReactCurrentBatchConfig.transition = prevTransition; | 1484 | 1481 | } | 1485 | 1482 | }, [value, config]); | 1486 | 1483 | return prevValue; | @@ -1509,16 +1506,16 @@ function startTransition(setPending, config, callback) { | 1509 | 1506 | runWithPriority( | 1510 | 1507 | priorityLevel > NormalPriority ? NormalPriority : priorityLevel, | 1511 | 1508 | () => { | 1512 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1513 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1509 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1510 | + ReactCurrentBatchConfig.transition = 1; | 1514 | 1511 | try { | 1515 | 1512 | setPending(false); | 1516 | 1513 | callback(); | 1517 | 1514 | } finally { | 1518 | 1515 | if (decoupleUpdatePriorityFromScheduler) { | 1519 | 1516 | setCurrentUpdateLanePriority(previousLanePriority); | 1520 | 1517 | } | 1521 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1518 | + ReactCurrentBatchConfig.transition = prevTransition; | 1522 | 1519 | } | 1523 | 1520 | }, | 1524 | 1521 | ); | @@ -1535,13 +1532,13 @@ function startTransition(setPending, config, callback) { | 1535 | 1532 | runWithPriority( | 1536 | 1533 | priorityLevel > NormalPriority ? NormalPriority : priorityLevel, | 1537 | 1534 | () => { | 1538 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1539 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1535 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1536 | + ReactCurrentBatchConfig.transition = 1; | 1540 | 1537 | try { | 1541 | 1538 | setPending(false); | 1542 | 1539 | callback(); | 1543 | 1540 | } finally { | 1544 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1541 | + ReactCurrentBatchConfig.transition = prevTransition; | 1545 | 1542 | } | 1546 | 1543 | }, | 1547 | 1544 | ); | @@ -1685,8 +1682,7 @@ function dispatchAction<S, A>( | 1685 | 1682 | } | 1686 | 1683 |
| 1687 | 1684 | const eventTime = requestEventTime(); | 1688 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 1689 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 1685 | + const lane = requestUpdateLane(fiber); | 1690 | 1686 |
| 1691 | 1687 | const update: Update<S, A> = { | 1692 | 1688 | lane, | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberHooks.old.js +19-23Lines changed: 19 additions & 23 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,7 +16,7 @@ import type { | 16 | 16 | import type {Fiber, Dispatcher} from './ReactInternalTypes'; | 17 | 17 | import type {Lanes, Lane} from './ReactFiberLane'; | 18 | 18 | import type {HookEffectTag} from './ReactHookEffectTags'; | 19 | | -import type {SuspenseConfig} from './ReactFiberSuspenseConfig'; | | 19 | +import type {SuspenseConfig} from './ReactFiberTransition'; | 20 | 20 | import type {ReactPriorityLevel} from './ReactInternalTypes'; | 21 | 21 | import type {FiberRoot} from './ReactInternalTypes'; | 22 | 22 | import type {OpaqueIDType} from './ReactFiberHostConfig'; | @@ -69,7 +69,6 @@ import invariant from 'shared/invariant'; | 69 | 69 | import getComponentName from 'shared/getComponentName'; | 70 | 70 | import is from 'shared/objectIs'; | 71 | 71 | import {markWorkInProgressReceivedUpdate} from './ReactFiberBeginWork.old'; | 72 | | -import {requestCurrentSuspenseConfig} from './ReactFiberSuspenseConfig'; | 73 | 72 | import { | 74 | 73 | UserBlockingPriority, | 75 | 74 | NormalPriority, | @@ -1002,8 +1001,7 @@ function useMutableSource<Source, Snapshot>( | 1002 | 1001 | if (!is(snapshot, maybeNewSnapshot)) { | 1003 | 1002 | setSnapshot(maybeNewSnapshot); | 1004 | 1003 |
| 1005 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 1006 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 1004 | + const lane = requestUpdateLane(fiber); | 1007 | 1005 | markRootMutableRead(root, lane); | 1008 | 1006 | } | 1009 | 1007 | // If the source mutated between render and now, | @@ -1023,8 +1021,7 @@ function useMutableSource<Source, Snapshot>( | 1023 | 1021 | latestSetSnapshot(latestGetSnapshot(source._source)); | 1024 | 1022 |
| 1025 | 1023 | // Record a pending mutable source update with the same expiration time. | 1026 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 1027 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 1024 | + const lane = requestUpdateLane(fiber); | 1028 | 1025 |
| 1029 | 1026 | markRootMutableRead(root, lane); | 1030 | 1027 | } catch (error) { | @@ -1440,12 +1437,12 @@ function mountDeferredValue<T>( | 1440 | 1437 | ): T { | 1441 | 1438 | const [prevValue, setValue] = mountState(value); | 1442 | 1439 | mountEffect(() => { | 1443 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1444 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1440 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1441 | + ReactCurrentBatchConfig.transition = 1; | 1445 | 1442 | try { | 1446 | 1443 | setValue(value); | 1447 | 1444 | } finally { | 1448 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1445 | + ReactCurrentBatchConfig.transition = prevTransition; | 1449 | 1446 | } | 1450 | 1447 | }, [value, config]); | 1451 | 1448 | return prevValue; | @@ -1457,12 +1454,12 @@ function updateDeferredValue<T>( | 1457 | 1454 | ): T { | 1458 | 1455 | const [prevValue, setValue] = updateState(value); | 1459 | 1456 | updateEffect(() => { | 1460 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1461 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1457 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1458 | + ReactCurrentBatchConfig.transition = 1; | 1462 | 1459 | try { | 1463 | 1460 | setValue(value); | 1464 | 1461 | } finally { | 1465 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1462 | + ReactCurrentBatchConfig.transition = prevTransition; | 1466 | 1463 | } | 1467 | 1464 | }, [value, config]); | 1468 | 1465 | return prevValue; | @@ -1474,12 +1471,12 @@ function rerenderDeferredValue<T>( | 1474 | 1471 | ): T { | 1475 | 1472 | const [prevValue, setValue] = rerenderState(value); | 1476 | 1473 | updateEffect(() => { | 1477 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1478 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1474 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1475 | + ReactCurrentBatchConfig.transition = 1; | 1479 | 1476 | try { | 1480 | 1477 | setValue(value); | 1481 | 1478 | } finally { | 1482 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1479 | + ReactCurrentBatchConfig.transition = prevTransition; | 1483 | 1480 | } | 1484 | 1481 | }, [value, config]); | 1485 | 1482 | return prevValue; | @@ -1508,16 +1505,16 @@ function startTransition(setPending, config, callback) { | 1508 | 1505 | runWithPriority( | 1509 | 1506 | priorityLevel > NormalPriority ? NormalPriority : priorityLevel, | 1510 | 1507 | () => { | 1511 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1512 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1508 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1509 | + ReactCurrentBatchConfig.transition = 1; | 1513 | 1510 | try { | 1514 | 1511 | setPending(false); | 1515 | 1512 | callback(); | 1516 | 1513 | } finally { | 1517 | 1514 | if (decoupleUpdatePriorityFromScheduler) { | 1518 | 1515 | setCurrentUpdateLanePriority(previousLanePriority); | 1519 | 1516 | } | 1520 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1517 | + ReactCurrentBatchConfig.transition = prevTransition; | 1521 | 1518 | } | 1522 | 1519 | }, | 1523 | 1520 | ); | @@ -1534,13 +1531,13 @@ function startTransition(setPending, config, callback) { | 1534 | 1531 | runWithPriority( | 1535 | 1532 | priorityLevel > NormalPriority ? NormalPriority : priorityLevel, | 1536 | 1533 | () => { | 1537 | | - const previousConfig = ReactCurrentBatchConfig.suspense; | 1538 | | - ReactCurrentBatchConfig.suspense = config === undefined ? null : config; | | 1534 | + const prevTransition = ReactCurrentBatchConfig.transition; | | 1535 | + ReactCurrentBatchConfig.transition = 1; | 1539 | 1536 | try { | 1540 | 1537 | setPending(false); | 1541 | 1538 | callback(); | 1542 | 1539 | } finally { | 1543 | | - ReactCurrentBatchConfig.suspense = previousConfig; | | 1540 | + ReactCurrentBatchConfig.transition = prevTransition; | 1544 | 1541 | } | 1545 | 1542 | }, | 1546 | 1543 | ); | @@ -1683,8 +1680,7 @@ function dispatchAction<S, A>( | 1683 | 1680 | } | 1684 | 1681 |
| 1685 | 1682 | const eventTime = requestEventTime(); | 1686 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 1687 | | - const lane = requestUpdateLane(fiber, suspenseConfig); | | 1683 | + const lane = requestUpdateLane(fiber); | 1688 | 1684 |
| 1689 | 1685 | const update: Update<S, A> = { | 1690 | 1686 | lane, | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberReconciler.new.js +2-4Lines changed: 2 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -83,7 +83,6 @@ import { | 83 | 83 | getCurrentUpdateLanePriority, | 84 | 84 | setCurrentUpdateLanePriority, | 85 | 85 | } from './ReactFiberLane'; | 86 | | -import {requestCurrentSuspenseConfig} from './ReactFiberSuspenseConfig'; | 87 | 86 | import { | 88 | 87 | scheduleRefresh, | 89 | 88 | scheduleRoot, | @@ -266,8 +265,7 @@ export function updateContainer( | 266 | 265 | warnIfNotScopedWithMatchingAct(current); | 267 | 266 | } | 268 | 267 | } | 269 | | - const suspenseConfig = requestCurrentSuspenseConfig(); | 270 | | - const lane = requestUpdateLane(current, suspenseConfig); | | 268 | + const lane = requestUpdateLane(current); | 271 | 269 |
| 272 | 270 | if (enableSchedulingProfiler) { | 273 | 271 | markRenderScheduled(lane); | @@ -427,7 +425,7 @@ export function attemptHydrationAtCurrentPriority(fiber: Fiber): void { | 427 | 425 | return; | 428 | 426 | } | 429 | 427 | const eventTime = requestEventTime(); | 430 | | - const lane = requestUpdateLane(fiber, null); | | 428 | + const lane = requestUpdateLane(fiber); | 431 | 429 | scheduleUpdateOnFiber(fiber, lane, eventTime); | 432 | 430 | markRetryLaneIfNotHydrated(fiber, lane); | 433 | 431 | } | |
|