|
7 | 7 | * @noflow
|
8 | 8 | * @nolint
|
9 | 9 | * @preventMunge
|
10 |
| - * @generated SignedSource<<73b775dbdf05bc68c388e7bc468044de>> |
| 10 | + * @generated SignedSource<<85e0c72b2b7d0bd1bf1067ea7b661f79>> |
11 | 11 | */
|
12 | 12 |
|
13 | 13 | "use strict";
|
@@ -2960,13 +2960,13 @@ function createChildReconciler(shouldTrackSideEffects) {
|
2960 | 2960 | (currentFirstChild = currentFirstChild.sibling);
|
2961 | 2961 | return null;
|
2962 | 2962 | }
|
2963 |
| - function mapRemainingChildren(returnFiber, currentFirstChild) { |
2964 |
| - for (returnFiber = new Map(); null !== currentFirstChild; ) |
| 2963 | + function mapRemainingChildren(currentFirstChild) { |
| 2964 | + for (var existingChildren = new Map(); null !== currentFirstChild; ) |
2965 | 2965 | null !== currentFirstChild.key
|
2966 |
| - ? returnFiber.set(currentFirstChild.key, currentFirstChild) |
2967 |
| - : returnFiber.set(currentFirstChild.index, currentFirstChild), |
| 2966 | + ? existingChildren.set(currentFirstChild.key, currentFirstChild) |
| 2967 | + : existingChildren.set(currentFirstChild.index, currentFirstChild), |
2968 | 2968 | (currentFirstChild = currentFirstChild.sibling);
|
2969 |
| - return returnFiber; |
| 2969 | + return existingChildren; |
2970 | 2970 | }
|
2971 | 2971 | function useFiber(fiber, pendingProps) {
|
2972 | 2972 | fiber = createWorkInProgress(fiber, pendingProps);
|
@@ -3315,7 +3315,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
3315 | 3315 | return resultingFirstChild;
|
3316 | 3316 | }
|
3317 | 3317 | for (
|
3318 |
| - oldFiber = mapRemainingChildren(returnFiber, oldFiber); |
| 3318 | + oldFiber = mapRemainingChildren(oldFiber); |
3319 | 3319 | newIdx < newChildren.length;
|
3320 | 3320 | newIdx++
|
3321 | 3321 | )
|
@@ -3403,7 +3403,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
3403 | 3403 | return iteratorFn;
|
3404 | 3404 | }
|
3405 | 3405 | for (
|
3406 |
| - oldFiber = mapRemainingChildren(returnFiber, oldFiber); |
| 3406 | + oldFiber = mapRemainingChildren(oldFiber); |
3407 | 3407 | !step.done;
|
3408 | 3408 | newIdx++, step = newChildrenIterable.next()
|
3409 | 3409 | )
|
@@ -9711,7 +9711,7 @@ var roots = new Map(),
|
9711 | 9711 | devToolsConfig$jscomp$inline_1059 = {
|
9712 | 9712 | findFiberByHostInstance: getInstanceFromNode,
|
9713 | 9713 | bundleType: 0,
|
9714 |
| - version: "18.3.0-canary-f799fa3f", |
| 9714 | + version: "18.3.0-canary-4fcd2209", |
9715 | 9715 | rendererPackageName: "react-native-renderer",
|
9716 | 9716 | rendererConfig: {
|
9717 | 9717 | getInspectorDataForInstance: getInspectorDataForInstance,
|
@@ -9754,7 +9754,7 @@ var internals$jscomp$inline_1284 = {
|
9754 | 9754 | scheduleRoot: null,
|
9755 | 9755 | setRefreshHandler: null,
|
9756 | 9756 | getCurrentFiber: null,
|
9757 |
| - reconcilerVersion: "18.3.0-canary-f799fa3f" |
| 9757 | + reconcilerVersion: "18.3.0-canary-4fcd2209" |
9758 | 9758 | };
|
9759 | 9759 | if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
9760 | 9760 | var hook$jscomp$inline_1285 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
0 commit comments