Skip to content

Commit 85ecb00

Browse files
kaciebfacebook-github-bot
authored andcommitted
React Native sync for revisions a049aa0...fe905f1
Summary: This sync includes the following changes: - **[fe905f152](facebook/react@fe905f152 )**: Update package.json ([#22954](facebook/react#22954)) //<Jack Works>// - **[3dc41d8a2](facebook/react@3dc41d8a2 )**: fix: parseExportNamesInto specifiers typo ([#22537](facebook/react#22537)) //<btea>// - **[bd0a5dd68](facebook/react@bd0a5dd68 )**: #22988 - Fix Bug: license header in React 18 bundles contains vundefined ([#23004](facebook/react#23004)) //<Vitalie>// - **[ceee524a8](facebook/react@ceee524a8 )**: Remove unnecessary clearContainer call ([#22979](facebook/react#22979)) //<Sebastian Markbåge>// - **[cd1a3e9b5](facebook/react@cd1a3e9b5 )**: Build both a partial renderer and fizz renderer of the legacy API for FB ([#22933](facebook/react#22933)) //<Sebastian Markbåge>// Changelog: [General][Changed] - React Native sync for revisions a049aa0...fe905f1 jest_e2e[run_all_tests] Reviewed By: rickhanlonii Differential Revision: D33512179 fbshipit-source-id: c2df06c8af6bb674ea0c5524538259e6d6d98f78
1 parent 6be46b0 commit 85ecb00

File tree

7 files changed

+35
-44
lines changed

7 files changed

+35
-44
lines changed

Libraries/Renderer/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a049aa015563c2e50f44214c28d186c0bae09ba6
1+
fe905f152f1c9740279e31ce4478a5b8ca75172e

Libraries/Renderer/implementations/ReactFabric-dev.fb.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<4b47cfe3313108f4cdeb2cfc4dfea2e5>>
10+
* @generated SignedSource<<c25a06061e121dbc12cecb2884507dfa>>
1111
*/
1212

1313
'use strict';
@@ -4990,7 +4990,6 @@ function shim() {
49904990

49914991
var supportsMutation = false;
49924992
var commitMount = shim;
4993-
var clearContainer = shim;
49944993

49954994
// Renderers that don't support hydration
49964995
// can re-export everything from this module.
@@ -6009,7 +6008,7 @@ function flushSyncCallbacks() {
60096008
return null;
60106009
}
60116010

6012-
var ReactVersion = "18.0.0-rc.0-a049aa015-20211213";
6011+
var ReactVersion = "18.0.0-rc.0-fe905f152-20220107";
60136012

60146013
var SCHEDULING_PROFILER_VERSION = 1;
60156014

@@ -20680,8 +20679,6 @@ function recoverFromConcurrentError(root, errorRetryLanes) {
2068020679
{
2068120680
errorHydratingContainer(root.containerInfo);
2068220681
}
20683-
20684-
clearContainer(root.containerInfo);
2068520682
}
2068620683

2068720684
var exitStatus;

Libraries/Renderer/implementations/ReactFabric-prod.fb.js

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<91162956144e0110fdc5f76b4de6f80e>>
10+
* @generated SignedSource<<a896eacc9a9dcf1699836dec923115b1>>
1111
*/
1212

1313
"use strict";
@@ -1820,11 +1820,6 @@ function lanesToEventPriority(lanes) {
18201820
: 4
18211821
: 1;
18221822
}
1823-
function shim() {
1824-
throw Error(
1825-
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
1826-
);
1827-
}
18281823
function shim$1() {
18291824
throw Error(
18301825
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -6176,7 +6171,10 @@ function commitLayoutEffects(finishedWork) {
61766171
}
61776172
break;
61786173
case 5:
6179-
null === current && firstChild.flags & 4 && shim();
6174+
if (null === current && firstChild.flags & 4)
6175+
throw Error(
6176+
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
6177+
);
61806178
break;
61816179
case 6:
61826180
break;
@@ -6564,7 +6562,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
65646562
function recoverFromConcurrentError(root, errorRetryLanes) {
65656563
var prevExecutionContext = executionContext;
65666564
executionContext |= 8;
6567-
root.isDehydrated && ((root.isDehydrated = !1), shim(root.containerInfo));
6565+
root.isDehydrated && (root.isDehydrated = !1);
65686566
for (
65696567
var exitStatus, i = 0;
65706568
50 > i &&
@@ -8165,7 +8163,7 @@ var roots = new Map(),
81658163
devToolsConfig$jscomp$inline_925 = {
81668164
findFiberByHostInstance: getInstanceFromInstance,
81678165
bundleType: 0,
8168-
version: "18.0.0-rc.0-a049aa015-20211213",
8166+
version: "18.0.0-rc.0-fe905f152-20220107",
81698167
rendererPackageName: "react-native-renderer",
81708168
rendererConfig: {
81718169
getInspectorDataForViewTag: function() {
@@ -8207,7 +8205,7 @@ var internals$jscomp$inline_1178 = {
82078205
scheduleRoot: null,
82088206
setRefreshHandler: null,
82098207
getCurrentFiber: null,
8210-
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
8208+
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
82118209
};
82128210
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
82138211
var hook$jscomp$inline_1179 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

Libraries/Renderer/implementations/ReactFabric-profiling.fb.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<7638d79ef666eac85302b8ce3706cab0>>
10+
* @generated SignedSource<<c99237d947c4c9b464cbc2fb01bfa5cc>>
1111
*/
1212

1313

@@ -1893,11 +1893,6 @@ function lanesToEventPriority(lanes) {
18931893
: 4
18941894
: 1;
18951895
}
1896-
function shim() {
1897-
throw Error(
1898-
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
1899-
);
1900-
}
19011896
function shim$1() {
19021897
throw Error(
19031898
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -6638,7 +6633,10 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
66386633
}
66396634
break;
66406635
case 5:
6641-
null === current && committedLanes.flags & 4 && shim();
6636+
if (null === current && committedLanes.flags & 4)
6637+
throw Error(
6638+
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
6639+
);
66426640
break;
66436641
case 6:
66446642
break;
@@ -7087,7 +7085,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
70877085
function recoverFromConcurrentError(root, errorRetryLanes) {
70887086
var prevExecutionContext = executionContext;
70897087
executionContext |= 8;
7090-
root.isDehydrated && ((root.isDehydrated = !1), shim(root.containerInfo));
7088+
root.isDehydrated && (root.isDehydrated = !1);
70917089
for (
70927090
var exitStatus, i = 0;
70937091
50 > i &&
@@ -7610,7 +7608,7 @@ function commitRootImpl(root, renderPriorityLevel) {
76107608
lanes = root.finishedLanes;
76117609
supportsUserTimingV3 &&
76127610
(markAndClear("--commit-start-" + lanes),
7613-
markAndClear("--react-version-18.0.0-rc.0-a049aa015-20211213"),
7611+
markAndClear("--react-version-18.0.0-rc.0-fe905f152-20220107"),
76147612
markAndClear("--profiler-version-1"),
76157613
getLaneLabels(),
76167614
markAndClear("--react-lane-labels-" + laneLabels.join(",")),
@@ -8867,7 +8865,7 @@ var roots = new Map(),
88678865
devToolsConfig$jscomp$inline_1020 = {
88688866
findFiberByHostInstance: getInstanceFromInstance,
88698867
bundleType: 0,
8870-
version: "18.0.0-rc.0-a049aa015-20211213",
8868+
version: "18.0.0-rc.0-fe905f152-20220107",
88718869
rendererPackageName: "react-native-renderer",
88728870
rendererConfig: {
88738871
getInspectorDataForViewTag: function() {
@@ -8909,7 +8907,7 @@ var internals$jscomp$inline_1307 = {
89098907
scheduleRoot: null,
89108908
setRefreshHandler: null,
89118909
getCurrentFiber: null,
8912-
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
8910+
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
89138911
};
89148912
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
89158913
var hook$jscomp$inline_1308 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<b669579a231fa2a949698a91b71718b9>>
10+
* @generated SignedSource<<6b9c0ba969139d6ee3eb09f15762393c>>
1111
*/
1212

1313
'use strict';
@@ -6242,7 +6242,7 @@ function flushSyncCallbacks() {
62426242
return null;
62436243
}
62446244

6245-
var ReactVersion = "18.0.0-rc.0-a049aa015-20211213";
6245+
var ReactVersion = "18.0.0-rc.0-fe905f152-20220107";
62466246

62476247
var SCHEDULING_PROFILER_VERSION = 1;
62486248

@@ -21095,8 +21095,6 @@ function recoverFromConcurrentError(root, errorRetryLanes) {
2109521095
{
2109621096
errorHydratingContainer(root.containerInfo);
2109721097
}
21098-
21099-
clearContainer(root.containerInfo);
2110021098
}
2110121099

2110221100
var exitStatus;

Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<e78790b1fea52e4a08e0efaf4b202318>>
10+
* @generated SignedSource<<4e71e92e72eaaf313f601217395e6d50>>
1111
*/
1212

1313
"use strict";
@@ -8252,7 +8252,7 @@ var roots = new Map(),
82528252
devToolsConfig$jscomp$inline_966 = {
82538253
findFiberByHostInstance: getInstanceFromTag,
82548254
bundleType: 0,
8255-
version: "18.0.0-rc.0-a049aa015-20211213",
8255+
version: "18.0.0-rc.0-fe905f152-20220107",
82568256
rendererPackageName: "react-native-renderer",
82578257
rendererConfig: {
82588258
getInspectorDataForViewTag: function() {
@@ -8294,7 +8294,7 @@ var internals$jscomp$inline_1229 = {
82948294
scheduleRoot: null,
82958295
setRefreshHandler: null,
82968296
getCurrentFiber: null,
8297-
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
8297+
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
82988298
};
82998299
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
83008300
var hook$jscomp$inline_1230 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<62369d90367239846ffa76aa77ae7e87>>
10+
* @generated SignedSource<<d4064fad3b33bb1c794350386dd674a4>>
1111
*/
1212

1313

@@ -7689,7 +7689,7 @@ function commitRootImpl(root, renderPriorityLevel) {
76897689
lanes = root.finishedLanes;
76907690
supportsUserTimingV3 &&
76917691
(markAndClear("--commit-start-" + lanes),
7692-
markAndClear("--react-version-18.0.0-rc.0-a049aa015-20211213"),
7692+
markAndClear("--react-version-18.0.0-rc.0-fe905f152-20220107"),
76937693
markAndClear("--profiler-version-1"),
76947694
getLaneLabels(),
76957695
markAndClear("--react-lane-labels-" + laneLabels.join(",")),
@@ -8946,7 +8946,7 @@ var roots = new Map(),
89468946
devToolsConfig$jscomp$inline_1061 = {
89478947
findFiberByHostInstance: getInstanceFromTag,
89488948
bundleType: 0,
8949-
version: "18.0.0-rc.0-a049aa015-20211213",
8949+
version: "18.0.0-rc.0-fe905f152-20220107",
89508950
rendererPackageName: "react-native-renderer",
89518951
rendererConfig: {
89528952
getInspectorDataForViewTag: function() {
@@ -8988,7 +8988,7 @@ var internals$jscomp$inline_1358 = {
89888988
scheduleRoot: null,
89898989
setRefreshHandler: null,
89908990
getCurrentFiber: null,
8991-
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
8991+
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
89928992
};
89938993
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
89948994
var hook$jscomp$inline_1359 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

0 commit comments

Comments
 (0)