Skip to content

Commit

Permalink
Add useModernStrictMode as dynamic flag on www (#28346)
Browse files Browse the repository at this point in the history
## Summary

Preparing modern strict mode rollout with dynamic feature flag

## How did you test this change?

![Screenshot 2024-02-15 at 10 09
49 AM](https://github.com/facebook/react/assets/8965173/9e90efc2-3578-4e63-ae2c-63d4a4e194b3)

DiffTrain build for commit ef72271.
  • Loading branch information
jackpope committed Feb 16, 2024
1 parent 2a45e92 commit 32643b0
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25633,7 +25633,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-canary-a9cc32511-20240215";
var ReactVersion = "18.3.0-canary-ef72271c2-20240216";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9179,7 +9179,7 @@ var devToolsConfig$jscomp$inline_1018 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-a9cc32511-20240215",
version: "18.3.0-canary-ef72271c2-20240216",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1199 = {
Expand Down Expand Up @@ -9210,7 +9210,7 @@ var internals$jscomp$inline_1199 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-a9cc32511-20240215"
reconcilerVersion: "18.3.0-canary-ef72271c2-20240216"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1200 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9607,7 +9607,7 @@ var devToolsConfig$jscomp$inline_1060 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-a9cc32511-20240215",
version: "18.3.0-canary-ef72271c2-20240216",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1240 = {
Expand Down Expand Up @@ -9638,7 +9638,7 @@ var internals$jscomp$inline_1240 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-a9cc32511-20240215"
reconcilerVersion: "18.3.0-canary-ef72271c2-20240216"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1241 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-a9cc32511-20240215";
var ReactVersion = "18.3.0-canary-ef72271c2-20240216";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -590,4 +590,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-a9cc32511-20240215";
exports.version = "18.3.0-canary-ef72271c2-20240216";
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-a9cc32511-20240215";
exports.version = "18.3.0-canary-ef72271c2-20240216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a9cc32511a12c261ee719e5383818182800d6af4
ef72271c2d1234c9d1e1358f8083021089a50faa

0 comments on commit 32643b0

Please sign in to comment.