( root: FiberRoot, update: ConcurrentUpdate, lane: Lane, )
| 1068 | } |
| 1069 | |
| 1070 | export function markHiddenUpdate( |
| 1071 | root: FiberRoot, |
| 1072 | update: ConcurrentUpdate, |
| 1073 | lane: Lane, |
| 1074 | ) { |
| 1075 | const index = laneToIndex(lane); |
| 1076 | const hiddenUpdates = root.hiddenUpdates; |
| 1077 | const hiddenUpdatesForLane = hiddenUpdates[index]; |
| 1078 | if (hiddenUpdatesForLane === null) { |
| 1079 | hiddenUpdates[index] = [update]; |
| 1080 | } else { |
| 1081 | hiddenUpdatesForLane.push(update); |
| 1082 | } |
| 1083 | update.lane = lane | OffscreenLane; |
| 1084 | } |
| 1085 | |
| 1086 | export function getBumpedLaneForHydration( |
| 1087 | root: FiberRoot, |
no test coverage detected