(root: FiberRoot, lanes: Lanes)
| 5219 | } |
| 5220 | |
| 5221 | export function restorePendingUpdaters(root: FiberRoot, lanes: Lanes): void { |
| 5222 | if (enableUpdaterTracking) { |
| 5223 | if (isDevToolsPresent) { |
| 5224 | const memoizedUpdaters = root.memoizedUpdaters; |
| 5225 | memoizedUpdaters.forEach(schedulingFiber => { |
| 5226 | addFiberToLanesMap(root, schedulingFiber, lanes); |
| 5227 | }); |
| 5228 | |
| 5229 | // This function intentionally does not clear memoized updaters. |
| 5230 | // Those may still be relevant to the current commit |
| 5231 | // and a future one (e.g. Suspense). |
| 5232 | } |
| 5233 | } |
| 5234 | } |
| 5235 | |
| 5236 | const fakeActCallbackNode = {}; |
| 5237 | // $FlowFixMe[missing-local-annot] |
no test coverage detected