diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js index e466edab8c..ec8d9278ac 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -238,7 +238,9 @@ if (__DEV__) { function getContextName$1(type) { return type.displayName || "Context"; - } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. + } + + var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. function getComponentNameFromType(type) { if (type == null) { @@ -246,16 +248,12 @@ if (__DEV__) { return null; } - { - if (typeof type.tag === "number") { - error( - "Received an unexpected object in getComponentNameFromType(). " + - "This is likely a bug in React. Please file an issue." - ); - } - } - if (typeof type === "function") { + if (type.$$typeof === REACT_CLIENT_REFERENCE) { + // TODO: Create a convention for naming client references with debug info. + return null; + } + return type.displayName || type.name || null; } @@ -288,6 +286,15 @@ if (__DEV__) { } if (typeof type === "object") { + { + if (typeof type.tag === "number") { + error( + "Received an unexpected object in getComponentNameFromType(). " + + "This is likely a bug in React. Please file an issue." + ); + } + } + switch (type.$$typeof) { case REACT_CONTEXT_TYPE: var context = type; @@ -25524,7 +25531,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-canary-6639ed3b3-20240111"; + var ReactVersion = "18.3.0-canary-0ac3ea471-20240111"; // Might add PROFILE later. diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js index 73bdf26e6a..94e4402dd2 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<98d1b8b04c6fa3a6d1a3f5d4d992bfdb>> + * @generated SignedSource<<09dbf4f778ca917e96108791bdd4cd8e>> */ "use strict"; @@ -59,9 +59,13 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; - if ("function" === typeof type) return type.displayName || type.name || null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: @@ -9117,7 +9121,7 @@ var devToolsConfig$jscomp$inline_1037 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-6639ed3b3-20240111", + version: "18.3.0-canary-0ac3ea471-20240111", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1230 = { @@ -9148,7 +9152,7 @@ var internals$jscomp$inline_1230 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-6639ed3b3-20240111" + reconcilerVersion: "18.3.0-canary-0ac3ea471-20240111" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js index cdce907175..8b0317ebc9 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<7b9b447b7ed58bc7f344d3fd301db92f>> */ "use strict"; @@ -59,9 +59,13 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; - if ("function" === typeof type) return type.displayName || type.name || null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: @@ -9545,7 +9549,7 @@ var devToolsConfig$jscomp$inline_1079 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-6639ed3b3-20240111", + version: "18.3.0-canary-0ac3ea471-20240111", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1271 = { @@ -9576,7 +9580,7 @@ var internals$jscomp$inline_1271 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-6639ed3b3-20240111" + reconcilerVersion: "18.3.0-canary-0ac3ea471-20240111" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js index a6bb6e9a2d..bd19ab074d 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<8170be8fec46751a1d737fb773d9ff2c>> + * @generated SignedSource<<3b95e8aa7ce2e31fd615f920b4402e91>> */ "use strict"; @@ -106,7 +106,7 @@ if (__DEV__) { var enableScopeAPI = false; var enableTransitionTracing = false; - var REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"); + var REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"); function isValidElementType(type) { if (typeof type === "string" || typeof type === "function") { return true; @@ -138,7 +138,7 @@ if (__DEV__) { // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - type.$$typeof === REACT_CLIENT_REFERENCE$1 || + type.$$typeof === REACT_CLIENT_REFERENCE$2 || type.getModuleId !== undefined ) { return true; @@ -163,7 +163,9 @@ if (__DEV__) { function getContextName(type) { return type.displayName || "Context"; - } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. + } + + var REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"); // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. function getComponentNameFromType(type) { if (type == null) { @@ -171,16 +173,12 @@ if (__DEV__) { return null; } - { - if (typeof type.tag === "number") { - error( - "Received an unexpected object in getComponentNameFromType(). " + - "This is likely a bug in React. Please file an issue." - ); - } - } - if (typeof type === "function") { + if (type.$$typeof === REACT_CLIENT_REFERENCE$1) { + // TODO: Create a convention for naming client references with debug info. + return null; + } + return type.displayName || type.name || null; } @@ -209,6 +207,15 @@ if (__DEV__) { } if (typeof type === "object") { + { + if (typeof type.tag === "number") { + error( + "Received an unexpected object in getComponentNameFromType(). " + + "This is likely a bug in React. Please file an issue." + ); + } + } + switch (type.$$typeof) { case REACT_CONTEXT_TYPE: var context = type; @@ -917,10 +924,7 @@ if (__DEV__) { var info = getDeclarationErrorAddendum(); if (!info) { - var parentName = - typeof parentType === "string" - ? parentType - : parentType.displayName || parentType.name; + var parentName = getComponentNameFromType(parentType); if (parentName) { info = diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js index b3f4b3db06..c39552c365 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<147cb9c49da614e98a9929adc67f6800>> + * @generated SignedSource<<8fbe3bc0848b0909865f9804f5adcef7>> */ "use strict"; @@ -106,7 +106,7 @@ if (__DEV__) { var enableScopeAPI = false; var enableTransitionTracing = false; - var REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"); + var REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"); function isValidElementType(type) { if (typeof type === "string" || typeof type === "function") { return true; @@ -138,7 +138,7 @@ if (__DEV__) { // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - type.$$typeof === REACT_CLIENT_REFERENCE$1 || + type.$$typeof === REACT_CLIENT_REFERENCE$2 || type.getModuleId !== undefined ) { return true; @@ -163,7 +163,9 @@ if (__DEV__) { function getContextName(type) { return type.displayName || "Context"; - } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. + } + + var REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"); // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. function getComponentNameFromType(type) { if (type == null) { @@ -171,16 +173,12 @@ if (__DEV__) { return null; } - { - if (typeof type.tag === "number") { - error( - "Received an unexpected object in getComponentNameFromType(). " + - "This is likely a bug in React. Please file an issue." - ); - } - } - if (typeof type === "function") { + if (type.$$typeof === REACT_CLIENT_REFERENCE$1) { + // TODO: Create a convention for naming client references with debug info. + return null; + } + return type.displayName || type.name || null; } @@ -209,6 +207,15 @@ if (__DEV__) { } if (typeof type === "object") { + { + if (typeof type.tag === "number") { + error( + "Received an unexpected object in getComponentNameFromType(). " + + "This is likely a bug in React. Please file an issue." + ); + } + } + switch (type.$$typeof) { case REACT_CONTEXT_TYPE: var context = type; @@ -917,10 +924,7 @@ if (__DEV__) { var info = getDeclarationErrorAddendum(); if (!info) { - var parentName = - typeof parentType === "string" - ? parentType - : parentType.displayName || parentType.name; + var parentName = getComponentNameFromType(parentType); if (parentName) { info = diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js index b2eed9532c..4cb58e2bc8 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<30dfd0a48c1491cc7311d26c4bb6319c>> + * @generated SignedSource<<10e5144158c797ac98aa209565dacfa5>> */ "use strict"; @@ -24,7 +24,7 @@ if (__DEV__) { ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = "18.3.0-canary-6639ed3b3-20240111"; + var ReactVersion = "18.3.0-canary-0ac3ea471-20240111"; // ATTENTION // When adding new symbols to this file, @@ -585,7 +585,9 @@ if (__DEV__) { function getContextName(type) { return type.displayName || "Context"; - } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. + } + + var REACT_CLIENT_REFERENCE$3 = Symbol.for("react.client.reference"); // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. function getComponentNameFromType(type) { if (type == null) { @@ -593,16 +595,12 @@ if (__DEV__) { return null; } - { - if (typeof type.tag === "number") { - error( - "Received an unexpected object in getComponentNameFromType(). " + - "This is likely a bug in React. Please file an issue." - ); - } - } - if (typeof type === "function") { + if (type.$$typeof === REACT_CLIENT_REFERENCE$3) { + // TODO: Create a convention for naming client references with debug info. + return null; + } + return type.displayName || type.name || null; } @@ -631,6 +629,15 @@ if (__DEV__) { } if (typeof type === "object") { + { + if (typeof type.tag === "number") { + error( + "Received an unexpected object in getComponentNameFromType(). " + + "This is likely a bug in React. Please file an issue." + ); + } + } + switch (type.$$typeof) { case REACT_CONTEXT_TYPE: var context = type; @@ -2378,10 +2385,7 @@ if (__DEV__) { var info = getDeclarationErrorAddendum$1(); if (!info) { - var parentName = - typeof parentType === "string" - ? parentType - : parentType.displayName || parentType.name; + var parentName = getComponentNameFromType(parentType); if (parentName) { info = @@ -3471,10 +3475,7 @@ if (__DEV__) { var info = getDeclarationErrorAddendum(); if (!info) { - var parentName = - typeof parentType === "string" - ? parentType - : parentType.displayName || parentType.name; + var parentName = getComponentNameFromType(parentType); if (parentName) { info = diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js index 75d4b95aad..371feb82fe 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js @@ -580,4 +580,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-6639ed3b3-20240111"; +exports.version = "18.3.0-canary-0ac3ea471-20240111"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js index 5a2e2b7edd..e3f2227fba 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js @@ -576,7 +576,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-6639ed3b3-20240111"; +exports.version = "18.3.0-canary-0ac3ea471-20240111"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index d2e495ccf5..e100db59ab 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -6639ed3b3a44f7736beb629144a7996145008f09 +0ac3ea471fbcb7d79bc7d36179e960c72c779e76 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index 17de262d59..d9dc4e0870 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<54456b8469c88ba73c0c7167b4b27e53>> + * @generated SignedSource<<8093e023e848964848b2e08a5762599f>> */ "use strict"; @@ -5400,7 +5400,9 @@ to return true:wantsResponderID| | function getContextName$1(type) { return type.displayName || "Context"; - } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. + } + + var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. function getComponentNameFromType(type) { if (type == null) { @@ -5408,16 +5410,12 @@ to return true:wantsResponderID| | return null; } - { - if (typeof type.tag === "number") { - error( - "Received an unexpected object in getComponentNameFromType(). " + - "This is likely a bug in React. Please file an issue." - ); - } - } - if (typeof type === "function") { + if (type.$$typeof === REACT_CLIENT_REFERENCE) { + // TODO: Create a convention for naming client references with debug info. + return null; + } + return type.displayName || type.name || null; } @@ -5446,6 +5444,15 @@ to return true:wantsResponderID| | } if (typeof type === "object") { + { + if (typeof type.tag === "number") { + error( + "Received an unexpected object in getComponentNameFromType(). " + + "This is likely a bug in React. Please file an issue." + ); + } + } + switch (type.$$typeof) { case REACT_CONTEXT_TYPE: var context = type; @@ -27822,7 +27829,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-2e719699"; + var ReactVersion = "18.3.0-canary-247f0e0d"; function createPortal$1( children, diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index 171b36403c..e4cdacd3b3 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<3289c8227f4717794604563a23058a66>> + * @generated SignedSource<> */ "use strict"; @@ -1695,9 +1695,13 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; - if ("function" === typeof type) return type.displayName || type.name || null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: @@ -9548,7 +9552,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1053 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-a4a2a709", + version: "18.3.0-canary-e5b06734", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9591,7 +9595,7 @@ var internals$jscomp$inline_1292 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-a4a2a709" + reconcilerVersion: "18.3.0-canary-e5b06734" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1293 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index 005e5cfc39..1134dd8abd 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<7675e37d0e91749a042e16dc06ad0c35>> + * @generated SignedSource<<2607cd5e41323c146ac09ecbb5682ce5>> */ "use strict"; @@ -1817,9 +1817,13 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; - if ("function" === typeof type) return type.displayName || type.name || null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: @@ -10250,7 +10254,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1131 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-23b711f1", + version: "18.3.0-canary-1b36a89c", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10306,7 +10310,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-23b711f1" + reconcilerVersion: "18.3.0-canary-1b36a89c" }); exports.createPortal = function (children, containerTag) { return createPortal$1( diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index e503f9a5ee..e2832d4550 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<1c328ab6e9e5cacb27445a075ae945c2>> */ "use strict"; @@ -3016,7 +3016,9 @@ to return true:wantsResponderID| | function getContextName$1(type) { return type.displayName || "Context"; - } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. + } + + var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. function getComponentNameFromType(type) { if (type == null) { @@ -3024,16 +3026,12 @@ to return true:wantsResponderID| | return null; } - { - if (typeof type.tag === "number") { - error( - "Received an unexpected object in getComponentNameFromType(). " + - "This is likely a bug in React. Please file an issue." - ); - } - } - if (typeof type === "function") { + if (type.$$typeof === REACT_CLIENT_REFERENCE) { + // TODO: Create a convention for naming client references with debug info. + return null; + } + return type.displayName || type.name || null; } @@ -3062,6 +3060,15 @@ to return true:wantsResponderID| | } if (typeof type === "object") { + { + if (typeof type.tag === "number") { + error( + "Received an unexpected object in getComponentNameFromType(). " + + "This is likely a bug in React. Please file an issue." + ); + } + } + switch (type.$$typeof) { case REACT_CONTEXT_TYPE: var context = type; @@ -28263,7 +28270,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-c6b3241d"; + var ReactVersion = "18.3.0-canary-5c402d39"; function createPortal$1( children, diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index 2b3893287d..fce0ef4316 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<78e8bb7a2adc886af3ab9b693ce4f7cd>> */ "use strict"; @@ -1192,9 +1192,13 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; - if ("function" === typeof type) return type.displayName || type.name || null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: @@ -9770,7 +9774,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1116 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-4b3a881d", + version: "18.3.0-canary-70aaf409", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9813,7 +9817,7 @@ var internals$jscomp$inline_1369 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-4b3a881d" + reconcilerVersion: "18.3.0-canary-70aaf409" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1370 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index 120da926c7..4470ab3210 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<52366b4580e0960513a2a83f552181c8>> */ "use strict"; @@ -1196,9 +1196,13 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; - if ("function" === typeof type) return type.displayName || type.name || null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: @@ -10472,7 +10476,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1194 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-2e447814", + version: "18.3.0-canary-0210e876", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10528,7 +10532,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-2e447814" + reconcilerVersion: "18.3.0-canary-0210e876" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {