Skip to content

Commit

Permalink
Revert "Fork ReactDOMSharedInternals for www (#25791)" (#25864)
Browse files Browse the repository at this point in the history
We did some cleanup internally of our ReactDOM module, so this fork
should be safe to remove now. Will land this only after our internal
diff lands.

DiffTrain build for [9c09c1c](9c09c1c)
[View git log for this commit](https://github.com/facebook/react/commits/9c09c1cd62ef862df91bcb4df4271917629d6963)
  • Loading branch information
poteto committed Dec 12, 2022
1 parent 806f024 commit 63c766e
Show file tree
Hide file tree
Showing 40 changed files with 38,744 additions and 38,765 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
996e4c0d56dabab382ca932cd5b8517e63020999
9c09c1cd62ef862df91bcb4df4271917629d6963
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION_TRANSFORMS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
996e4c0d56dabab382ca932cd5b8517e63020999
9c09c1cd62ef862df91bcb4df4271917629d6963
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 @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-www-classic-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-classic-9c09c1cd6-20221212";

// ATTENTION
// When adding new symbols to this file,
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 @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-www-modern-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-modern-9c09c1cd6-20221212";

// ATTENTION
// When adding new symbols to this file,
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 @@ -643,4 +643,4 @@ exports.useSyncExternalStore = function(
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-classic-996e4c0d5-20221212";
exports.version = "18.3.0-www-classic-9c09c1cd6-20221212";
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 @@ -635,4 +635,4 @@ exports.useSyncExternalStore = function(
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-modern-996e4c0d5-20221212";
exports.version = "18.3.0-www-modern-9c09c1cd6-20221212";
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 @@ -654,7 +654,7 @@ exports.useSyncExternalStore = function(
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-classic-996e4c0d5-20221212";
exports.version = "18.3.0-www-classic-9c09c1cd6-20221212";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
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 @@ -646,7 +646,7 @@ exports.useSyncExternalStore = function(
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-modern-996e4c0d5-20221212";
exports.version = "18.3.0-www-modern-9c09c1cd6-20221212";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactART-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}

var ReactVersion = "18.3.0-www-classic-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-classic-9c09c1cd6-20221212";

var LegacyRoot = 0;
var ConcurrentRoot = 1;
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactART-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}

var ReactVersion = "18.3.0-www-modern-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-modern-9c09c1cd6-20221212";

var LegacyRoot = 0;
var ConcurrentRoot = 1;
Expand Down
4 changes: 2 additions & 2 deletions compiled/facebook-www/ReactART-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -9807,7 +9807,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-classic-996e4c0d5-20221212",
version: "18.3.0-www-classic-9c09c1cd6-20221212",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1338 = {
Expand Down Expand Up @@ -9838,7 +9838,7 @@ var internals$jscomp$inline_1338 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1339 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
4 changes: 2 additions & 2 deletions compiled/facebook-www/ReactART-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -9474,7 +9474,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-modern-996e4c0d5-20221212",
version: "18.3.0-www-modern-9c09c1cd6-20221212",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1329 = {
Expand Down Expand Up @@ -9505,7 +9505,7 @@ var internals$jscomp$inline_1329 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1330 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOM-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -42565,7 +42565,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-www-classic-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-classic-9c09c1cd6-20221212";

function createPortal(
children,
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOM-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -42289,7 +42289,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-www-modern-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-modern-9c09c1cd6-20221212";

function createPortal(
children,
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOM-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -15557,7 +15557,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1770 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-996e4c0d5-20221212",
version: "18.3.0-www-classic-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2157 = {
Expand Down Expand Up @@ -15587,7 +15587,7 @@ var internals$jscomp$inline_2157 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2158 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -15829,4 +15829,4 @@ exports.unstable_renderSubtreeIntoContainer = function(
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOM-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -15118,7 +15118,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1738 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-996e4c0d5-20221212",
version: "18.3.0-www-modern-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2132 = {
Expand Down Expand Up @@ -15149,7 +15149,7 @@ var internals$jscomp$inline_2132 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2133 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -15337,4 +15337,4 @@ exports.unstable_flushControlled = function(fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOM-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -16327,7 +16327,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1844 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-996e4c0d5-20221212",
version: "18.3.0-www-classic-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
(function(internals) {
Expand Down Expand Up @@ -16371,7 +16371,7 @@ var devToolsConfig$jscomp$inline_1844 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
});
assign(Internals, {
ReactBrowserEventEmitter: {
Expand Down Expand Up @@ -16600,7 +16600,7 @@ exports.unstable_renderSubtreeIntoContainer = function(
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOM-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -15878,7 +15878,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1812 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-996e4c0d5-20221212",
version: "18.3.0-www-modern-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
(function(internals) {
Expand Down Expand Up @@ -15923,7 +15923,7 @@ var devToolsConfig$jscomp$inline_1812 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function(children, container) {
Expand Down Expand Up @@ -16098,7 +16098,7 @@ exports.unstable_flushControlled = function(fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMForked-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -42565,7 +42565,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-www-classic-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-classic-9c09c1cd6-20221212";

function createPortal(
children,
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMForked-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -42289,7 +42289,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-www-modern-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-modern-9c09c1cd6-20221212";

function createPortal(
children,
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOMForked-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -15557,7 +15557,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1770 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-996e4c0d5-20221212",
version: "18.3.0-www-classic-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2157 = {
Expand Down Expand Up @@ -15587,7 +15587,7 @@ var internals$jscomp$inline_2157 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2158 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -15829,4 +15829,4 @@ exports.unstable_renderSubtreeIntoContainer = function(
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOMForked-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -15118,7 +15118,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1738 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-996e4c0d5-20221212",
version: "18.3.0-www-modern-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2132 = {
Expand Down Expand Up @@ -15149,7 +15149,7 @@ var internals$jscomp$inline_2132 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2133 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -15337,4 +15337,4 @@ exports.unstable_flushControlled = function(fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOMForked-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -16327,7 +16327,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1844 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-996e4c0d5-20221212",
version: "18.3.0-www-classic-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
(function(internals) {
Expand Down Expand Up @@ -16371,7 +16371,7 @@ var devToolsConfig$jscomp$inline_1844 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
});
assign(Internals, {
ReactBrowserEventEmitter: {
Expand Down Expand Up @@ -16600,7 +16600,7 @@ exports.unstable_renderSubtreeIntoContainer = function(
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOMForked-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -15878,7 +15878,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1812 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-996e4c0d5-20221212",
version: "18.3.0-www-modern-9c09c1cd6-20221212",
rendererPackageName: "react-dom"
};
(function(internals) {
Expand Down Expand Up @@ -15923,7 +15923,7 @@ var devToolsConfig$jscomp$inline_1812 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-996e4c0d5-20221212"
reconcilerVersion: "18.3.0-next-9c09c1cd6-20221212"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function(children, container) {
Expand Down Expand Up @@ -16098,7 +16098,7 @@ exports.unstable_flushControlled = function(fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-996e4c0d5-20221212";
exports.version = "18.3.0-next-9c09c1cd6-20221212";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
6 changes: 2 additions & 4 deletions compiled/facebook-www/ReactDOMServer-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ if (__DEV__) {
"use strict";

var React = require("react");
var ReactDOM = require("react-dom");

var ReactVersion = "18.3.0-www-classic-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-classic-9c09c1cd6-20221212";

// This refers to a WWW module.
var warningWWW = require("warning");
Expand Down Expand Up @@ -3609,9 +3610,6 @@ var completeBoundaryWithStyles =
var completeSegment =
"$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};";

// $FlowIgnore[cannot-resolve-module] provided by www
var ReactDOM = require("ReactDOMComet");

var ReactDOMSharedInternals =
ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down
6 changes: 2 additions & 4 deletions compiled/facebook-www/ReactDOMServer-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ if (__DEV__) {
"use strict";

var React = require("react");
var ReactDOM = require("react-dom");

var ReactVersion = "18.3.0-www-modern-996e4c0d5-20221212";
var ReactVersion = "18.3.0-www-modern-9c09c1cd6-20221212";

// This refers to a WWW module.
var warningWWW = require("warning");
Expand Down Expand Up @@ -3613,9 +3614,6 @@ var completeBoundaryWithStyles =
var completeSegment =
"$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};";

// $FlowIgnore[cannot-resolve-module] provided by www
var ReactDOM = require("ReactDOMComet");

var ReactDOMSharedInternals =
ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down
Loading

0 comments on commit 63c766e

Please sign in to comment.