diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 4af08732c2128..39a21b964d469 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -7f93cb41c8e1352eec158e508bc612025425266d +64c8d2d45d49dbb2f59ea23e5e739eb79e124abc diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 7e06f07250fca..476d37142c5ba 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -24,7 +24,7 @@ if (__DEV__) { ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = "19.0.0-www-classic-e729f4fd"; + var ReactVersion = "19.0.0-www-classic-8d3386cf"; // ATTENTION // When adding new symbols to this file, @@ -2041,6 +2041,8 @@ if (__DEV__) { if (config != null) { if (hasValidRef(config)) { + owner = ReactSharedInternals.owner; + if (!enableRefAsProp) { // Silently steal the ref from the parent. ref = config.ref; @@ -2049,8 +2051,6 @@ if (__DEV__) { ref = coerceStringRef(ref, owner, element.type); } } - - owner = ReactSharedInternals.owner; } if (hasValidKey(config)) { diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index 31741b86a30eb..3e9abaaec859c 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -24,7 +24,7 @@ if (__DEV__) { ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = "19.0.0-www-modern-e655a09b"; + var ReactVersion = "19.0.0-www-modern-337e1422"; // ATTENTION // When adding new symbols to this file, @@ -2043,6 +2043,8 @@ if (__DEV__) { if (config != null) { if (hasValidRef(config)) { + owner = ReactSharedInternals.owner; + if (!enableRefAsProp) { // Silently steal the ref from the parent. ref = config.ref; @@ -2051,8 +2053,6 @@ if (__DEV__) { ref = coerceStringRef(ref, owner, element.type); } } - - owner = ReactSharedInternals.owner; } if (hasValidKey(config)) { diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index 6d1ca4af12c18..23523c5e94d9f 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -457,9 +457,10 @@ exports.cloneElement = function (element, config, children) { owner = element._owner; if (null != config) { void 0 !== config.ref && - (enableRefAsProp || - ((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))), - (owner = ReactSharedInternals.owner)); + ((owner = ReactSharedInternals.owner), + enableRefAsProp || + ((ref = config.ref), + (ref = coerceStringRef(ref, owner, element.type)))); void 0 !== config.key && (key = "" + config.key); if ( !disableDefaultPropsExceptForClasses && @@ -690,4 +691,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-4b82ed06"; +exports.version = "19.0.0-www-classic-0eabe82a"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 5cd3b64b093e4..7f794b1382d3f 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -457,9 +457,10 @@ exports.cloneElement = function (element, config, children) { owner = element._owner; if (null != config) { void 0 !== config.ref && - (enableRefAsProp || - ((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))), - (owner = ReactSharedInternals.owner)); + ((owner = ReactSharedInternals.owner), + enableRefAsProp || + ((ref = config.ref), + (ref = coerceStringRef(ref, owner, element.type)))); void 0 !== config.key && (key = "" + config.key); if ( !disableDefaultPropsExceptForClasses && @@ -690,4 +691,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-4b82ed06"; +exports.version = "19.0.0-www-modern-0eabe82a"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index e36981d4b69ca..9b5e9119cec42 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -461,9 +461,10 @@ exports.cloneElement = function (element, config, children) { owner = element._owner; if (null != config) { void 0 !== config.ref && - (enableRefAsProp || - ((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))), - (owner = ReactSharedInternals.owner)); + ((owner = ReactSharedInternals.owner), + enableRefAsProp || + ((ref = config.ref), + (ref = coerceStringRef(ref, owner, element.type)))); void 0 !== config.key && (key = "" + config.key); if ( !disableDefaultPropsExceptForClasses && @@ -694,7 +695,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-1e341207"; +exports.version = "19.0.0-www-classic-aab80d0a"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 8483e2fdb0ffd..4954072ad840c 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -461,9 +461,10 @@ exports.cloneElement = function (element, config, children) { owner = element._owner; if (null != config) { void 0 !== config.ref && - (enableRefAsProp || - ((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))), - (owner = ReactSharedInternals.owner)); + ((owner = ReactSharedInternals.owner), + enableRefAsProp || + ((ref = config.ref), + (ref = coerceStringRef(ref, owner, element.type)))); void 0 !== config.key && (key = "" + config.key); if ( !disableDefaultPropsExceptForClasses && @@ -694,7 +695,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-1e341207"; +exports.version = "19.0.0-www-modern-aab80d0a"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactServer-dev.modern.js b/compiled/facebook-www/ReactServer-dev.modern.js index bd0195db2806a..7dcf3801e5666 100644 --- a/compiled/facebook-www/ReactServer-dev.modern.js +++ b/compiled/facebook-www/ReactServer-dev.modern.js @@ -1767,6 +1767,8 @@ if (__DEV__) { if (config != null) { if (hasValidRef(config)) { + owner = ReactSharedInternals.owner; + if (!enableRefAsProp) { // Silently steal the ref from the parent. ref = config.ref; @@ -1775,8 +1777,6 @@ if (__DEV__) { ref = coerceStringRef(ref, owner, element.type); } } - - owner = ReactSharedInternals.owner; } if (hasValidKey(config)) { @@ -3083,7 +3083,7 @@ if (__DEV__) { function noop() {} - var ReactVersion = "19.0.0-www-modern-f42736d9"; + var ReactVersion = "19.0.0-www-modern-a3494f1d"; // Patch fetch var Children = { diff --git a/compiled/facebook-www/ReactServer-prod.modern.js b/compiled/facebook-www/ReactServer-prod.modern.js index d9ccf999f63da..0446980ba450b 100644 --- a/compiled/facebook-www/ReactServer-prod.modern.js +++ b/compiled/facebook-www/ReactServer-prod.modern.js @@ -439,9 +439,10 @@ exports.cloneElement = function (element, config, children) { owner = element._owner; if (null != config) { void 0 !== config.ref && - (enableRefAsProp || - ((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))), - (owner = ReactSharedInternals.owner)); + ((owner = ReactSharedInternals.owner), + enableRefAsProp || + ((ref = config.ref), + (ref = coerceStringRef(ref, owner, element.type)))); void 0 !== config.key && (key = "" + config.key); if ( !disableDefaultPropsExceptForClasses && @@ -587,4 +588,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-www-modern-bd5b5e6e"; +exports.version = "19.0.0-www-modern-3ff8d311";