Skip to content

Commit

Permalink
React Native sync for revisions a049aa0...fe905f1
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kacieb authored and facebook-github-bot committed Jan 10, 2022
1 parent 6be46b0 commit 85ecb00
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 44 deletions.
2 changes: 1 addition & 1 deletion Libraries/Renderer/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a049aa015563c2e50f44214c28d186c0bae09ba6
fe905f152f1c9740279e31ce4478a5b8ca75172e
9 changes: 3 additions & 6 deletions Libraries/Renderer/implementations/ReactFabric-dev.fb.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4b47cfe3313108f4cdeb2cfc4dfea2e5>>
* @generated SignedSource<<c25a06061e121dbc12cecb2884507dfa>>
*/

'use strict';
Expand Down Expand Up @@ -4990,7 +4990,6 @@ function shim() {

var supportsMutation = false;
var commitMount = shim;
var clearContainer = shim;

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

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

var SCHEDULING_PROFILER_VERSION = 1;

Expand Down Expand Up @@ -20680,8 +20679,6 @@ function recoverFromConcurrentError(root, errorRetryLanes) {
{
errorHydratingContainer(root.containerInfo);
}

clearContainer(root.containerInfo);
}

var exitStatus;
Expand Down
20 changes: 9 additions & 11 deletions Libraries/Renderer/implementations/ReactFabric-prod.fb.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<91162956144e0110fdc5f76b4de6f80e>>
* @generated SignedSource<<a896eacc9a9dcf1699836dec923115b1>>
*/

"use strict";
Expand Down Expand Up @@ -1820,11 +1820,6 @@ function lanesToEventPriority(lanes) {
: 4
: 1;
}
function shim() {
throw Error(
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
Expand Down Expand Up @@ -6176,7 +6171,10 @@ function commitLayoutEffects(finishedWork) {
}
break;
case 5:
null === current && firstChild.flags & 4 && shim();
if (null === current && firstChild.flags & 4)
throw Error(
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
);
break;
case 6:
break;
Expand Down Expand Up @@ -6564,7 +6562,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
function recoverFromConcurrentError(root, errorRetryLanes) {
var prevExecutionContext = executionContext;
executionContext |= 8;
root.isDehydrated && ((root.isDehydrated = !1), shim(root.containerInfo));
root.isDehydrated && (root.isDehydrated = !1);
for (
var exitStatus, i = 0;
50 > i &&
Expand Down Expand Up @@ -8165,7 +8163,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_925 = {
findFiberByHostInstance: getInstanceFromInstance,
bundleType: 0,
version: "18.0.0-rc.0-a049aa015-20211213",
version: "18.0.0-rc.0-fe905f152-20220107",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -8207,7 +8205,7 @@ var internals$jscomp$inline_1178 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1179 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
22 changes: 10 additions & 12 deletions Libraries/Renderer/implementations/ReactFabric-profiling.fb.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7638d79ef666eac85302b8ce3706cab0>>
* @generated SignedSource<<c99237d947c4c9b464cbc2fb01bfa5cc>>
*/


Expand Down Expand Up @@ -1893,11 +1893,6 @@ function lanesToEventPriority(lanes) {
: 4
: 1;
}
function shim() {
throw Error(
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
Expand Down Expand Up @@ -6638,7 +6633,10 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
}
break;
case 5:
null === current && committedLanes.flags & 4 && shim();
if (null === current && committedLanes.flags & 4)
throw Error(
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
);
break;
case 6:
break;
Expand Down Expand Up @@ -7087,7 +7085,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
function recoverFromConcurrentError(root, errorRetryLanes) {
var prevExecutionContext = executionContext;
executionContext |= 8;
root.isDehydrated && ((root.isDehydrated = !1), shim(root.containerInfo));
root.isDehydrated && (root.isDehydrated = !1);
for (
var exitStatus, i = 0;
50 > i &&
Expand Down Expand Up @@ -7610,7 +7608,7 @@ function commitRootImpl(root, renderPriorityLevel) {
lanes = root.finishedLanes;
supportsUserTimingV3 &&
(markAndClear("--commit-start-" + lanes),
markAndClear("--react-version-18.0.0-rc.0-a049aa015-20211213"),
markAndClear("--react-version-18.0.0-rc.0-fe905f152-20220107"),
markAndClear("--profiler-version-1"),
getLaneLabels(),
markAndClear("--react-lane-labels-" + laneLabels.join(",")),
Expand Down Expand Up @@ -8867,7 +8865,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_1020 = {
findFiberByHostInstance: getInstanceFromInstance,
bundleType: 0,
version: "18.0.0-rc.0-a049aa015-20211213",
version: "18.0.0-rc.0-fe905f152-20220107",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -8909,7 +8907,7 @@ var internals$jscomp$inline_1307 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1308 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b669579a231fa2a949698a91b71718b9>>
* @generated SignedSource<<6b9c0ba969139d6ee3eb09f15762393c>>
*/

'use strict';
Expand Down Expand Up @@ -6242,7 +6242,7 @@ function flushSyncCallbacks() {
return null;
}

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

var SCHEDULING_PROFILER_VERSION = 1;

Expand Down Expand Up @@ -21095,8 +21095,6 @@ function recoverFromConcurrentError(root, errorRetryLanes) {
{
errorHydratingContainer(root.containerInfo);
}

clearContainer(root.containerInfo);
}

var exitStatus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e78790b1fea52e4a08e0efaf4b202318>>
* @generated SignedSource<<4e71e92e72eaaf313f601217395e6d50>>
*/

"use strict";
Expand Down Expand Up @@ -8252,7 +8252,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_966 = {
findFiberByHostInstance: getInstanceFromTag,
bundleType: 0,
version: "18.0.0-rc.0-a049aa015-20211213",
version: "18.0.0-rc.0-fe905f152-20220107",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -8294,7 +8294,7 @@ var internals$jscomp$inline_1229 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1230 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<62369d90367239846ffa76aa77ae7e87>>
* @generated SignedSource<<d4064fad3b33bb1c794350386dd674a4>>
*/


Expand Down Expand Up @@ -7689,7 +7689,7 @@ function commitRootImpl(root, renderPriorityLevel) {
lanes = root.finishedLanes;
supportsUserTimingV3 &&
(markAndClear("--commit-start-" + lanes),
markAndClear("--react-version-18.0.0-rc.0-a049aa015-20211213"),
markAndClear("--react-version-18.0.0-rc.0-fe905f152-20220107"),
markAndClear("--profiler-version-1"),
getLaneLabels(),
markAndClear("--react-lane-labels-" + laneLabels.join(",")),
Expand Down Expand Up @@ -8946,7 +8946,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_1061 = {
findFiberByHostInstance: getInstanceFromTag,
bundleType: 0,
version: "18.0.0-rc.0-a049aa015-20211213",
version: "18.0.0-rc.0-fe905f152-20220107",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -8988,7 +8988,7 @@ var internals$jscomp$inline_1358 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.0.0-rc.0-a049aa015-20211213"
reconcilerVersion: "18.0.0-rc.0-fe905f152-20220107"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1359 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down

0 comments on commit 85ecb00

Please sign in to comment.