Skip to content

Commit

Permalink
add RSC entrypoint for jsx-runtime (#28217)
Browse files Browse the repository at this point in the history
Adds a new entrypoint for the production jsx-runtime when using
react-server condition. Currently the entrypoints are the same but in
the future we will potentially change the implementation of the runtime
in ways that can only be optimized for react-server constraints and we
want to have the entrypoint already separated so environments using it
will be pulling in the right version

DiffTrain build for [00f9acb](00f9acb)
  • Loading branch information
gnoff committed Feb 2, 2024
1 parent 65f2fcf commit 55b1962
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2efa38332adc1fc1500753d79fcba41a0197a7a6
00f9acb12c036ef24a2b6d7957d75359c6280087
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 @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-www-classic-bdf51244";
var ReactVersion = "18.3.0-www-classic-609987b0";

// 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 @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-www-modern-517f857f";
var ReactVersion = "18.3.0-www-modern-9aca347c";

// 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 @@ -572,4 +572,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-classic-89ae6c5e";
exports.version = "18.3.0-www-classic-416dbb8d";
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 @@ -564,4 +564,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-modern-f0cc34f4";
exports.version = "18.3.0-www-modern-b506e46f";
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 @@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-classic-65906d0f";
exports.version = "18.3.0-www-classic-f4afa597";
"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 @@ -568,7 +568,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-modern-bb71daeb";
exports.version = "18.3.0-www-modern-41ffe01a";
"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.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");

var ReactVersion = "18.3.0-www-modern-e061c5a2";
var ReactVersion = "18.3.0-www-modern-2e88c45b";

// This refers to a WWW module.
var warningWWW = require("warning");
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMTesting-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -36377,7 +36377,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-www-classic-11bc03a7";
var ReactVersion = "18.3.0-www-classic-416dbb8d";

function createPortal$1(
children,
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOMTesting-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17483,7 +17483,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1828 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-bdf51244",
version: "18.3.0-www-classic-f4afa597",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2197 = {
Expand Down Expand Up @@ -17513,7 +17513,7 @@ var internals$jscomp$inline_2197 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-bdf51244"
reconcilerVersion: "18.3.0-www-classic-f4afa597"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2198 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -18014,4 +18014,4 @@ exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
throw Error(formatProdErrorMessage(248));
};
exports.version = "18.3.0-www-classic-bdf51244";
exports.version = "18.3.0-www-classic-f4afa597";
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactServer-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -2624,7 +2624,7 @@ if (__DEV__) {
console["error"](error);
};

var ReactVersion = "18.3.0-www-modern-adc39473";
var ReactVersion = "18.3.0-www-modern-6d060166";

// Patch fetch
var Children = {
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactServer-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,4 @@ exports.useId = function () {
exports.useMemo = function (create, deps) {
return ReactCurrentDispatcher.current.useMemo(create, deps);
};
exports.version = "18.3.0-www-modern-e061c5a2";
exports.version = "18.3.0-www-modern-f4094d5d";
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactTestRenderer-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -26077,7 +26077,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-www-classic-89ae6c5e";
var ReactVersion = "18.3.0-www-classic-aef0373e";

// Might add PROFILE later.

Expand Down

0 comments on commit 55b1962

Please sign in to comment.