Skip to content

Commit

Permalink
React Native sync for revisions b8fda6c...ebcec3c
Browse files Browse the repository at this point in the history
Summary:
This sync includes the following changes:
- **[316943091](facebook/react@316943091 )**: Make StrictMode double rendering flag static for FB/www ([#21517](facebook/react#21517)) //<Brian Vaughn>//
- **[e0f89aa05](facebook/react@e0f89aa05 )**: Clean up Scheduler forks ([#20915](facebook/react#20915)) //<Ricky>//
- **[5890e0e69](facebook/react@5890e0e69 )**: Remove data-reactroot from server rendering and hydration heuristic ([#20996](facebook/react#20996)) //<Sebastian Markbåge>//
- **[46491dce9](facebook/react@46491dce9 )**: [Bugfix] Prevent already-committed setState callback from firing again during a rebase ([#21498](facebook/react#21498)) //<Andrew Clark>//
- **[b770f7500](facebook/react@b770f7500 )**: lint-build: Infer format from artifact filename ([#21489](facebook/react#21489)) //<Andrew Clark>//
- **[2bf4805e4](facebook/react@2bf4805e4 )**: Update entry point exports ([#21488](facebook/react#21488)) //<Brian Vaughn>//

Changelog:
[General][Changed] - React Native sync for revisions b8fda6c...ebcec3c

jest_e2e[run_all_tests]

Reviewed By: JoshuaGross

Differential Revision: D28572047

fbshipit-source-id: eb09c0358edb7fbf241333ea9c08724748906fea
  • Loading branch information
rickhanlonii authored and facebook-github-bot committed May 25, 2021
1 parent 341f061 commit 1c5d0dc
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 37 deletions.
2 changes: 1 addition & 1 deletion Libraries/Renderer/REVISION
@@ -1 +1 @@
b8fda6cabc7efc53356d87c6516d6a3d7eb1253c
316943091ed36b2807b70b765283c7647dd9ffda
10 changes: 7 additions & 3 deletions Libraries/Renderer/implementations/ReactFabric-dev.fb.js
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8974e8c964125552d627281e52405ecc>>
* @generated SignedSource<<d8654ddab1f90ed55c9d13dacb5fd34d>>
*/

'use strict';
Expand Down Expand Up @@ -5812,7 +5812,7 @@ var Passive$1 =
/* */
4;

var ReactVersion = "17.0.3-b8fda6cab";
var ReactVersion = "17.0.3-316943091";

var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;
var NoTransition = 0;
Expand Down Expand Up @@ -7079,7 +7079,11 @@ function processUpdateQueue(workInProgress, props, instance, renderLanes) {
);
var callback = update.callback;

if (callback !== null) {
if (
callback !== null && // If the update was already committed, we should not queue its
// callback again.
update.lane !== NoLane
) {
workInProgress.flags |= Callback;
var effects = queue.effects;

Expand Down
10 changes: 7 additions & 3 deletions Libraries/Renderer/implementations/ReactFabric-dev.js
Expand Up @@ -8,7 +8,7 @@
* @nolint
* @providesModule ReactFabric-dev
* @preventMunge
* @generated SignedSource<<0b8cd409f26ccc8dbab26e2f700f6c68>>
* @generated SignedSource<<30d93cc0c27c6cc2eeb760079781964b>>
*/

'use strict';
Expand Down Expand Up @@ -5697,7 +5697,7 @@ var Passive$1 =
/* */
4;

var ReactVersion = "17.0.3-b8fda6cab";
var ReactVersion = "17.0.3-316943091";

var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;
var NoTransition = 0;
Expand Down Expand Up @@ -6944,7 +6944,11 @@ function processUpdateQueue(workInProgress, props, instance, renderLanes) {
);
var callback = update.callback;

if (callback !== null) {
if (
callback !== null && // If the update was already committed, we should not queue its
// callback again.
update.lane !== NoLane
) {
workInProgress.flags |= Callback;
var effects = queue.effects;

Expand Down
7 changes: 4 additions & 3 deletions Libraries/Renderer/implementations/ReactFabric-prod.fb.js
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2dc7c402c6aee869836656b83828b0a5>>
* @generated SignedSource<<b257e5deefd3596e0660367606c9be96>>
*/

"use strict";
Expand Down Expand Up @@ -2376,6 +2376,7 @@ function processUpdateQueue(
}
}
null !== pendingQueue.callback &&
0 !== pendingQueue.lane &&
((workInProgress$jscomp$0.flags |= 64),
(updateLane = queue.effects),
null === updateLane
Expand Down Expand Up @@ -7771,7 +7772,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_942 = {
findFiberByHostInstance: getInstanceFromInstance,
bundleType: 0,
version: "17.0.3-b8fda6cab",
version: "17.0.3-316943091",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -7812,7 +7813,7 @@ var internals$jscomp$inline_1180 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "17.0.3-b8fda6cab"
reconcilerVersion: "17.0.3-316943091"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1181 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
7 changes: 4 additions & 3 deletions Libraries/Renderer/implementations/ReactFabric-prod.js
Expand Up @@ -8,7 +8,7 @@
* @nolint
* @providesModule ReactFabric-prod
* @preventMunge
* @generated SignedSource<<13b77909c1b0f4c0d620f64b4cb52c31>>
* @generated SignedSource<<b982542426fff1359566cd81ee8fb6a1>>
*/

"use strict";
Expand Down Expand Up @@ -2375,6 +2375,7 @@ function processUpdateQueue(
}
}
null !== pendingQueue.callback &&
0 !== pendingQueue.lane &&
((workInProgress$jscomp$0.flags |= 64),
(updateLane = queue.effects),
null === updateLane
Expand Down Expand Up @@ -7766,7 +7767,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_942 = {
findFiberByHostInstance: getInstanceFromInstance,
bundleType: 0,
version: "17.0.3-experimental-b8fda6cab",
version: "17.0.3-experimental-316943091",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -7807,7 +7808,7 @@ var internals$jscomp$inline_1180 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "17.0.3-experimental-b8fda6cab"
reconcilerVersion: "17.0.3-experimental-316943091"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1181 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f4478d44b07e8c93ca1b01afcf098968>>
* @generated SignedSource<<53c0b624e2940b070555c7f2253a7464>>
*/

"use strict";
Expand Down Expand Up @@ -2394,6 +2394,7 @@ function processUpdateQueue(
}
}
null !== pendingQueue.callback &&
0 !== pendingQueue.lane &&
((workInProgress$jscomp$0.flags |= 64),
(updateLane = queue.effects),
null === updateLane
Expand Down Expand Up @@ -7922,7 +7923,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_966 = {
findFiberByHostInstance: getInstanceFromInstance,
bundleType: 0,
version: "17.0.3-b8fda6cab",
version: "17.0.3-316943091",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -7963,7 +7964,7 @@ var internals$jscomp$inline_1208 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "17.0.3-b8fda6cab"
reconcilerVersion: "17.0.3-316943091"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1209 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
7 changes: 4 additions & 3 deletions Libraries/Renderer/implementations/ReactFabric-profiling.js
Expand Up @@ -8,7 +8,7 @@
* @nolint
* @providesModule ReactFabric-profiling
* @preventMunge
* @generated SignedSource<<e02801db70a5777798593a0165dd112f>>
* @generated SignedSource<<539de6e874474ef5e41b0b59b08b0a87>>
*/

"use strict";
Expand Down Expand Up @@ -2393,6 +2393,7 @@ function processUpdateQueue(
}
}
null !== pendingQueue.callback &&
0 !== pendingQueue.lane &&
((workInProgress$jscomp$0.flags |= 64),
(updateLane = queue.effects),
null === updateLane
Expand Down Expand Up @@ -7917,7 +7918,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_966 = {
findFiberByHostInstance: getInstanceFromInstance,
bundleType: 0,
version: "17.0.3-experimental-b8fda6cab",
version: "17.0.3-experimental-316943091",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -7958,7 +7959,7 @@ var internals$jscomp$inline_1208 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "17.0.3-experimental-b8fda6cab"
reconcilerVersion: "17.0.3-experimental-316943091"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1209 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
10 changes: 7 additions & 3 deletions Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8033e694383dc0dfd8e2862436d6a7f5>>
* @generated SignedSource<<d730d65da7794cd154ac00cac3550316>>
*/

'use strict';
Expand Down Expand Up @@ -6100,7 +6100,7 @@ var Passive$1 =
/* */
4;

var ReactVersion = "17.0.3-b8fda6cab";
var ReactVersion = "17.0.3-316943091";

var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;
var NoTransition = 0;
Expand Down Expand Up @@ -7367,7 +7367,11 @@ function processUpdateQueue(workInProgress, props, instance, renderLanes) {
);
var callback = update.callback;

if (callback !== null) {
if (
callback !== null && // If the update was already committed, we should not queue its
// callback again.
update.lane !== NoLane
) {
workInProgress.flags |= Callback;
var effects = queue.effects;

Expand Down
10 changes: 7 additions & 3 deletions Libraries/Renderer/implementations/ReactNativeRenderer-dev.js
Expand Up @@ -8,7 +8,7 @@
* @nolint
* @providesModule ReactNativeRenderer-dev
* @preventMunge
* @generated SignedSource<<b6540a3b671ae373f1722d7ea8f20722>>
* @generated SignedSource<<533806c353bad3548a1ff8956f9b4926>>
*/

'use strict';
Expand Down Expand Up @@ -5985,7 +5985,7 @@ var Passive$1 =
/* */
4;

var ReactVersion = "17.0.3-experimental-b8fda6cab";
var ReactVersion = "17.0.3-experimental-316943091";

var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;
var NoTransition = 0;
Expand Down Expand Up @@ -7232,7 +7232,11 @@ function processUpdateQueue(workInProgress, props, instance, renderLanes) {
);
var callback = update.callback;

if (callback !== null) {
if (
callback !== null && // If the update was already committed, we should not queue its
// callback again.
update.lane !== NoLane
) {
workInProgress.flags |= Callback;
var effects = queue.effects;

Expand Down
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<59cfc9a453cf45eb8d4cd09410777f21>>
* @generated SignedSource<<53f60697568934e10ab6356420c30183>>
*/

"use strict";
Expand Down Expand Up @@ -2399,6 +2399,7 @@ function processUpdateQueue(
}
}
null !== pendingQueue.callback &&
0 !== pendingQueue.lane &&
((workInProgress$jscomp$0.flags |= 64),
(updateLane = queue.effects),
null === updateLane
Expand Down Expand Up @@ -7989,7 +7990,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_986 = {
findFiberByHostInstance: getInstanceFromTag,
bundleType: 0,
version: "17.0.3-b8fda6cab",
version: "17.0.3-316943091",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -8030,7 +8031,7 @@ var internals$jscomp$inline_1243 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "17.0.3-b8fda6cab"
reconcilerVersion: "17.0.3-316943091"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1244 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Expand Up @@ -8,7 +8,7 @@
* @nolint
* @providesModule ReactNativeRenderer-prod
* @preventMunge
* @generated SignedSource<<c2bd920e65c75725045e8813eeeac57b>>
* @generated SignedSource<<6d4caf24a3e1740a61fb1e9ec904caff>>
*/

"use strict";
Expand Down Expand Up @@ -2398,6 +2398,7 @@ function processUpdateQueue(
}
}
null !== pendingQueue.callback &&
0 !== pendingQueue.lane &&
((workInProgress$jscomp$0.flags |= 64),
(updateLane = queue.effects),
null === updateLane
Expand Down Expand Up @@ -7984,7 +7985,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_986 = {
findFiberByHostInstance: getInstanceFromTag,
bundleType: 0,
version: "17.0.3-experimental-b8fda6cab",
version: "17.0.3-experimental-316943091",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -8025,7 +8026,7 @@ var internals$jscomp$inline_1243 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "17.0.3-experimental-b8fda6cab"
reconcilerVersion: "17.0.3-experimental-316943091"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1244 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<6cad811dbb0701b65f3ecc4aca877fe5>>
* @generated SignedSource<<e90b0d8815bb6c24c91e1b8148a5b15d>>
*/

"use strict";
Expand Down Expand Up @@ -2417,6 +2417,7 @@ function processUpdateQueue(
}
}
null !== pendingQueue.callback &&
0 !== pendingQueue.lane &&
((workInProgress$jscomp$0.flags |= 64),
(updateLane = queue.effects),
null === updateLane
Expand Down Expand Up @@ -8140,7 +8141,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_1010 = {
findFiberByHostInstance: getInstanceFromTag,
bundleType: 0,
version: "17.0.3-b8fda6cab",
version: "17.0.3-316943091",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function() {
Expand Down Expand Up @@ -8181,7 +8182,7 @@ var internals$jscomp$inline_1271 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "17.0.3-b8fda6cab"
reconcilerVersion: "17.0.3-316943091"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down

0 comments on commit 1c5d0dc

Please sign in to comment.