|
7 | 7 | * @noflow
|
8 | 8 | * @nolint
|
9 | 9 | * @preventMunge
|
10 |
| - * @generated SignedSource<<84b02666b89c30d381a8cdd2ef587911>> |
| 10 | + * @generated SignedSource<<d9e820a361c20b62bc9a8c1f8ab34868>> |
11 | 11 | */
|
12 | 12 |
|
13 | 13 |
|
@@ -3025,7 +3025,10 @@ function ChildReconciler(shouldTrackSideEffects) {
|
3025 | 3025 | return current;
|
3026 | 3026 | }
|
3027 | 3027 | function createChild(returnFiber, newChild, lanes) {
|
3028 |
| - if ("string" === typeof newChild || "number" === typeof newChild) |
| 3028 | + if ( |
| 3029 | + ("string" === typeof newChild && "" !== newChild) || |
| 3030 | + "number" === typeof newChild |
| 3031 | + ) |
3029 | 3032 | return (
|
3030 | 3033 | (newChild = createFiberFromText(
|
3031 | 3034 | "" + newChild,
|
@@ -3079,7 +3082,10 @@ function ChildReconciler(shouldTrackSideEffects) {
|
3079 | 3082 | }
|
3080 | 3083 | function updateSlot(returnFiber, oldFiber, newChild, lanes) {
|
3081 | 3084 | var key = null !== oldFiber ? oldFiber.key : null;
|
3082 |
| - if ("string" === typeof newChild || "number" === typeof newChild) |
| 3085 | + if ( |
| 3086 | + ("string" === typeof newChild && "" !== newChild) || |
| 3087 | + "number" === typeof newChild |
| 3088 | + ) |
3083 | 3089 | return null !== key
|
3084 | 3090 | ? null
|
3085 | 3091 | : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes);
|
@@ -3109,7 +3115,10 @@ function ChildReconciler(shouldTrackSideEffects) {
|
3109 | 3115 | newChild,
|
3110 | 3116 | lanes
|
3111 | 3117 | ) {
|
3112 |
| - if ("string" === typeof newChild || "number" === typeof newChild) |
| 3118 | + if ( |
| 3119 | + ("string" === typeof newChild && "" !== newChild) || |
| 3120 | + "number" === typeof newChild |
| 3121 | + ) |
3113 | 3122 | return (
|
3114 | 3123 | (existingChildren = existingChildren.get(newIdx) || null),
|
3115 | 3124 | updateTextNode(returnFiber, existingChildren, "" + newChild, lanes)
|
@@ -3435,7 +3444,8 @@ function ChildReconciler(shouldTrackSideEffects) {
|
3435 | 3444 | );
|
3436 | 3445 | throwOnInvalidObjectType(returnFiber, newChild);
|
3437 | 3446 | }
|
3438 |
| - return "string" === typeof newChild || "number" === typeof newChild |
| 3447 | + return ("string" === typeof newChild && "" !== newChild) || |
| 3448 | + "number" === typeof newChild |
3439 | 3449 | ? ((newChild = "" + newChild),
|
3440 | 3450 | null !== currentFirstChild && 6 === currentFirstChild.tag
|
3441 | 3451 | ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),
|
@@ -7612,7 +7622,7 @@ function commitRootImpl(root, renderPriorityLevel) {
|
7612 | 7622 | lanes = root.finishedLanes;
|
7613 | 7623 | supportsUserTimingV3 &&
|
7614 | 7624 | (markAndClear("--commit-start-" + lanes),
|
7615 |
| - markAndClear("--react-version-18.0.0-c0c71a868-20211112"), |
| 7625 | + markAndClear("--react-version-18.0.0-c1220ebdd-20211123"), |
7616 | 7626 | markAndClear("--profiler-version-1"),
|
7617 | 7627 | getLaneLabels(),
|
7618 | 7628 | markAndClear("--react-lane-labels-" + laneLabels.join(",")),
|
@@ -8868,7 +8878,7 @@ var roots = new Map(),
|
8868 | 8878 | devToolsConfig$jscomp$inline_1020 = {
|
8869 | 8879 | findFiberByHostInstance: getInstanceFromInstance,
|
8870 | 8880 | bundleType: 0,
|
8871 |
| - version: "18.0.0-c0c71a868-20211112", |
| 8881 | + version: "18.0.0-c1220ebdd-20211123", |
8872 | 8882 | rendererPackageName: "react-native-renderer",
|
8873 | 8883 | rendererConfig: {
|
8874 | 8884 | getInspectorDataForViewTag: function() {
|
@@ -8910,7 +8920,7 @@ var internals$jscomp$inline_1308 = {
|
8910 | 8920 | scheduleRoot: null,
|
8911 | 8921 | setRefreshHandler: null,
|
8912 | 8922 | getCurrentFiber: null,
|
8913 |
| - reconcilerVersion: "18.0.0-c0c71a868-20211112" |
| 8923 | + reconcilerVersion: "18.0.0-c1220ebdd-20211123" |
8914 | 8924 | };
|
8915 | 8925 | if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
8916 | 8926 | var hook$jscomp$inline_1309 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
0 commit comments