Skip to content

Commit

Permalink
Flag for requestPaint (#31805)
Browse files Browse the repository at this point in the history
Will run a quick experiment for this.

DiffTrain build for [f7b1273](f7b1273)
  • Loading branch information
rickhanlonii committed Dec 16, 2024
1 parent fac54e0 commit 517de85
Show file tree
Hide file tree
Showing 40 changed files with 114 additions and 108 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e06c72fcf4632ad3117add713a25f6354631f037
f7b1273da2c96057d3908f52f8587379d4418f66
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION_TRANSFORMS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e06c72fcf4632ad3117add713a25f6354631f037
f7b1273da2c96057d3908f52f8587379d4418f66
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,4 +633,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,4 +633,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17015,10 +17015,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-e06c72fc-20241215",
version: "19.1.0-www-classic-f7b1273d-20241216",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-classic-f7b1273d-20241216"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -17052,7 +17052,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -16778,10 +16778,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-e06c72fc-20241215",
version: "19.1.0-www-modern-f7b1273d-20241216",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-modern-f7b1273d-20241216"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -16815,7 +16815,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -10817,10 +10817,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1500 = {
bundleType: 0,
version: "19.1.0-www-classic-e06c72fc-20241215",
version: "19.1.0-www-classic-f7b1273d-20241216",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-classic-f7b1273d-20241216"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1501 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand All @@ -10846,4 +10846,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -10533,10 +10533,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1479 = {
bundleType: 0,
version: "19.1.0-www-modern-e06c72fc-20241215",
version: "19.1.0-www-modern-f7b1273d-20241216",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-modern-f7b1273d-20241216"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1480 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand All @@ -10562,4 +10562,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
10 changes: 5 additions & 5 deletions compiled/facebook-www/ReactDOM-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -27490,11 +27490,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-e06c72fc-20241215" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-f7b1273d-20241216" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-classic-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-f7b1273d-20241216\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -27537,10 +27537,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-e06c72fc-20241215",
version: "19.1.0-www-classic-f7b1273d-20241216",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-classic-f7b1273d-20241216"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -28147,7 +28147,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
10 changes: 5 additions & 5 deletions compiled/facebook-www/ReactDOM-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -27269,11 +27269,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-e06c72fc-20241215" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-f7b1273d-20241216" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-modern-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-f7b1273d-20241216\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -27316,10 +27316,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-e06c72fc-20241215",
version: "19.1.0-www-modern-f7b1273d-20241216",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-modern-f7b1273d-20241216"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -27926,7 +27926,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
10 changes: 5 additions & 5 deletions compiled/facebook-www/ReactDOM-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17274,14 +17274,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1765 = React.version;
if (
"19.1.0-www-classic-e06c72fc-20241215" !==
"19.1.0-www-classic-f7b1273d-20241216" !==
isomorphicReactPackageVersion$jscomp$inline_1765
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1765,
"19.1.0-www-classic-e06c72fc-20241215"
"19.1.0-www-classic-f7b1273d-20241216"
)
);
Internals.findDOMNode = function (componentOrElement) {
Expand All @@ -17299,10 +17299,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2306 = {
bundleType: 0,
version: "19.1.0-www-classic-e06c72fc-20241215",
version: "19.1.0-www-classic-f7b1273d-20241216",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-classic-f7b1273d-20241216"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2307 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -17667,4 +17667,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
10 changes: 5 additions & 5 deletions compiled/facebook-www/ReactDOM-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -17005,14 +17005,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1755 = React.version;
if (
"19.1.0-www-modern-e06c72fc-20241215" !==
"19.1.0-www-modern-f7b1273d-20241216" !==
isomorphicReactPackageVersion$jscomp$inline_1755
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1755,
"19.1.0-www-modern-e06c72fc-20241215"
"19.1.0-www-modern-f7b1273d-20241216"
)
);
Internals.findDOMNode = function (componentOrElement) {
Expand All @@ -17030,10 +17030,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2288 = {
bundleType: 0,
version: "19.1.0-www-modern-e06c72fc-20241215",
version: "19.1.0-www-modern-f7b1273d-20241216",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-modern-f7b1273d-20241216"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2289 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -17398,4 +17398,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
10 changes: 5 additions & 5 deletions compiled/facebook-www/ReactDOM-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17963,14 +17963,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1858 = React.version;
if (
"19.1.0-www-classic-e06c72fc-20241215" !==
"19.1.0-www-classic-f7b1273d-20241216" !==
isomorphicReactPackageVersion$jscomp$inline_1858
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1858,
"19.1.0-www-classic-e06c72fc-20241215"
"19.1.0-www-classic-f7b1273d-20241216"
)
);
Internals.findDOMNode = function (componentOrElement) {
Expand All @@ -17988,10 +17988,10 @@ Internals.Events = [
];
var internals$jscomp$inline_1860 = {
bundleType: 0,
version: "19.1.0-www-classic-e06c72fc-20241215",
version: "19.1.0-www-classic-f7b1273d-20241216",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-classic-f7b1273d-20241216"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1860.getLaneLabelMap = getLaneLabelMap),
Expand Down Expand Up @@ -18359,7 +18359,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
10 changes: 5 additions & 5 deletions compiled/facebook-www/ReactDOM-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -17693,14 +17693,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1848 = React.version;
if (
"19.1.0-www-modern-e06c72fc-20241215" !==
"19.1.0-www-modern-f7b1273d-20241216" !==
isomorphicReactPackageVersion$jscomp$inline_1848
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1848,
"19.1.0-www-modern-e06c72fc-20241215"
"19.1.0-www-modern-f7b1273d-20241216"
)
);
Internals.findDOMNode = function (componentOrElement) {
Expand All @@ -17718,10 +17718,10 @@ Internals.Events = [
];
var internals$jscomp$inline_1850 = {
bundleType: 0,
version: "19.1.0-www-modern-e06c72fc-20241215",
version: "19.1.0-www-modern-f7b1273d-20241216",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
reconcilerVersion: "19.1.0-www-modern-f7b1273d-20241216"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1850.getLaneLabelMap = getLaneLabelMap),
Expand Down Expand Up @@ -18089,7 +18089,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMServer-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -9150,5 +9150,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
})();
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMServer-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -8976,5 +8976,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
})();
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMServer-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -5898,4 +5898,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
exports.version = "19.1.0-www-classic-f7b1273d-20241216";
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMServer-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -5810,4 +5810,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
exports.version = "19.1.0-www-modern-f7b1273d-20241216";
Loading

0 comments on commit 517de85

Please sign in to comment.