From affeba5ed2c1aabe306448b09ca77d2b42376032 Mon Sep 17 00:00:00 2001 From: gaearon Date: Mon, 5 Feb 2024 22:43:58 +0000 Subject: [PATCH] [Flight] Delete Server Context (#28225) Server Context was never documented, and has been deprecated in https://github.com/facebook/react/pull/27424. This PR removes it completely, including the implementation code. Notably, `useContext` is removed from the shared subset, so importing it from a React Server environment would now should be a build error in environments that are able to enforce that. DiffTrain build for commit https://github.com/facebook/react/commit/472854820bfd0058dfc85524051171c7b7c998c1. --- .../vendor/react-is/cjs/ReactIs-dev.js | 4 +- .../vendor/react-is/cjs/ReactIs-prod.js | 4 +- .../vendor/react-is/cjs/ReactIs-profiling.js | 4 +- .../cjs/ReactTestRenderer-dev.js | 42 +++++-------------- .../cjs/ReactTestRenderer-prod.js | 41 +++++------------- .../cjs/ReactTestRenderer-profiling.js | 41 +++++------------- .../RKJSModules/vendor/react/cjs/React-dev.js | 19 ++++----- .../vendor/react/cjs/React-prod.js | 8 ++-- .../vendor/react/cjs/React-profiling.js | 8 ++-- .../Libraries/Renderer/REVISION | 2 +- .../implementations/ReactFabric-dev.fb.js | 34 ++++----------- .../implementations/ReactFabric-prod.fb.js | 33 ++++----------- .../ReactFabric-profiling.fb.js | 33 ++++----------- .../ReactNativeRenderer-dev.fb.js | 34 ++++----------- .../ReactNativeRenderer-prod.fb.js | 33 ++++----------- .../ReactNativeRenderer-profiling.fb.js | 33 ++++----------- 16 files changed, 96 insertions(+), 277 deletions(-) diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-dev.js index 40b90d6af482d..127d04b61d527 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<36f762822297bdf88d7c307324df43cc>> + * @generated SignedSource<<2841ecb119b8ac2f90b4a6b1a9610f4a>> */ "use strict"; @@ -27,7 +27,6 @@ if (__DEV__) { var REACT_PROFILER_TYPE = Symbol.for("react.profiler"); var REACT_PROVIDER_TYPE = Symbol.for("react.provider"); var REACT_CONTEXT_TYPE = Symbol.for("react.context"); - var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"); var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"); var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"); var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"); @@ -104,7 +103,6 @@ if (__DEV__) { var $$typeofType = type && type.$$typeof; switch ($$typeofType) { - case REACT_SERVER_CONTEXT_TYPE: case REACT_CONTEXT_TYPE: case REACT_FORWARD_REF_TYPE: case REACT_LAZY_TYPE: diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-prod.js index 05b088aae048d..be157baf2fcad 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<41457e58875ca2b4348c205786f8a603>> + * @generated SignedSource<<0785b258643804110befe2a444659c39>> */ "use strict"; @@ -18,7 +18,6 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -42,7 +41,6 @@ function typeOf(object) { return object; default: switch (((object = object && object.$$typeof), object)) { - case REACT_SERVER_CONTEXT_TYPE: case REACT_CONTEXT_TYPE: case REACT_FORWARD_REF_TYPE: case REACT_LAZY_TYPE: diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-profiling.js index 05b088aae048d..be157baf2fcad 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-is/cjs/ReactIs-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<41457e58875ca2b4348c205786f8a603>> + * @generated SignedSource<<0785b258643804110befe2a444659c39>> */ "use strict"; @@ -18,7 +18,6 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -42,7 +41,6 @@ function typeOf(object) { return object; default: switch (((object = object && object.$$typeof), object)) { - case REACT_SERVER_CONTEXT_TYPE: case REACT_CONTEXT_TYPE: case REACT_FORWARD_REF_TYPE: case REACT_LAZY_TYPE: 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 8b1c4339fe74b..708eee84f10da 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<<3a64021116badb6467add62a13ee5411>> */ "use strict"; @@ -191,7 +191,6 @@ if (__DEV__) { var REACT_PROFILER_TYPE = Symbol.for("react.profiler"); var REACT_PROVIDER_TYPE = Symbol.for("react.provider"); var REACT_CONTEXT_TYPE = Symbol.for("react.context"); - var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"); var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"); var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"); var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"); @@ -2705,9 +2704,7 @@ if (__DEV__) { _currentValue2: null, _threadCount: 0, Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null + Consumer: null }; function requiredContext(c) { @@ -5541,10 +5538,7 @@ if (__DEV__) { return createChild(returnFiber, unwrapThenable(thenable), lanes); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return createChild( returnFiber, @@ -5628,10 +5622,7 @@ if (__DEV__) { ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return updateSlot( returnFiber, @@ -5732,10 +5723,7 @@ if (__DEV__) { ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return updateFromMap( existingChildren, @@ -6442,10 +6430,7 @@ if (__DEV__) { ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return reconcileChildFibersImpl( returnFiber, @@ -7537,10 +7522,7 @@ if (__DEV__) { // This is a thenable. var thenable = usable; return useThenable(thenable); - } else if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + } else if (usable.$$typeof === REACT_CONTEXT_TYPE) { var context = usable; return readContext(context); } @@ -15920,9 +15902,7 @@ if (__DEV__) { var currentValue = valueCursor.current; { - { - context._currentValue2 = currentValue; - } + context._currentValue2 = currentValue; { var currentRenderer2 = renderer2CursorDEV.current; @@ -16237,9 +16217,7 @@ if (__DEV__) { // We'll initialize these at the root. _currentValue: null, _currentValue2: null, - _threadCount: 0, - _defaultValue: null, - _globalName: null + _threadCount: 0 }; { @@ -25622,7 +25600,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-canary-95ec12839-20240205"; + var ReactVersion = "18.3.0-canary-472854820-20240205"; // 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 4bccb0495bbc9..9fed6ae5027ba 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<<0830f708091bdd48ea8c30383eaa2377>> + * @generated SignedSource<<44ff806ec3569d53375d403127ca45fb>> */ "use strict"; @@ -38,7 +38,6 @@ var assign = Object.assign, REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -678,9 +677,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, _currentValue2: null, _threadCount: 0, Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null + Consumer: null }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -1696,10 +1693,7 @@ function createChildReconciler(shouldTrackSideEffects) { ); if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconcilation(returnFiber, newChild, lanes), @@ -1745,10 +1739,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, @@ -1815,10 +1806,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, @@ -2150,10 +2138,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, @@ -2459,11 +2444,7 @@ function useThenable(thenable) { function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); - if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) - return readContext(usable); + if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error("An unsupported type was passed to use(): " + String(usable)); } @@ -5049,9 +5030,7 @@ var AbortControllerLocal = Provider: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - _defaultValue: null, - _globalName: null + _threadCount: 0 }; function createCache() { return { @@ -9171,7 +9150,7 @@ var devToolsConfig$jscomp$inline_1012 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-95ec12839-20240205", + version: "18.3.0-canary-472854820-20240205", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1190 = { @@ -9202,7 +9181,7 @@ var internals$jscomp$inline_1190 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-95ec12839-20240205" + reconcilerVersion: "18.3.0-canary-472854820-20240205" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1191 = __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 0c89ab2edea9b..8a0ddb674e2fd 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<<85a8b2f955c9bc050fd774c4a9464f5b>> + * @generated SignedSource<> */ "use strict"; @@ -38,7 +38,6 @@ var assign = Object.assign, REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -696,9 +695,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, _currentValue2: null, _threadCount: 0, Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null + Consumer: null }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -1716,10 +1713,7 @@ function createChildReconciler(shouldTrackSideEffects) { ); if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconcilation(returnFiber, newChild, lanes), @@ -1765,10 +1759,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, @@ -1835,10 +1826,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, @@ -2170,10 +2158,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, @@ -2479,11 +2464,7 @@ function useThenable(thenable) { function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); - if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) - return readContext(usable); + if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error("An unsupported type was passed to use(): " + String(usable)); } @@ -5155,9 +5136,7 @@ var AbortControllerLocal = Provider: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - _defaultValue: null, - _globalName: null + _threadCount: 0 }; function createCache() { return { @@ -9599,7 +9578,7 @@ var devToolsConfig$jscomp$inline_1054 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-95ec12839-20240205", + version: "18.3.0-canary-472854820-20240205", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1231 = { @@ -9630,7 +9609,7 @@ var internals$jscomp$inline_1231 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-95ec12839-20240205" + reconcilerVersion: "18.3.0-canary-472854820-20240205" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1232 = __REACT_DEVTOOLS_GLOBAL_HOOK__; 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 f27fa91456fb5..9f1a84c9c038b 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<> + * @generated SignedSource<> */ "use strict"; @@ -24,7 +24,7 @@ if (__DEV__) { ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = "18.3.0-canary-95ec12839-20240205"; + var ReactVersion = "18.3.0-canary-472854820-20240205"; // ATTENTION // When adding new symbols to this file, @@ -147,11 +147,6 @@ if (__DEV__) { }; } - // NOTE: There are no flags, currently. Uncomment the stuff below if we add one. - var enableDebugTracing = false; - var enableScopeAPI = false; - var enableTransitionTracing = false; - var ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher, ReactCurrentCache: ReactCurrentCache, @@ -570,6 +565,11 @@ if (__DEV__) { } } + // NOTE: There are no flags, currently. Uncomment the stuff below if we add one. + var enableDebugTracing = false; + var enableScopeAPI = false; + var enableTransitionTracing = false; + function getWrappedName(outerType, innerType, wrapperName) { var displayName = outerType.displayName; @@ -2085,10 +2085,7 @@ if (__DEV__) { _threadCount: 0, // These are circular Provider: null, - Consumer: null, - // Add these to use same hidden class in VM as ServerContext - _defaultValue: null, - _globalName: null + Consumer: null }; context.Provider = { $$typeof: REACT_PROVIDER_TYPE, 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 0939036b8b703..66db78e078c5f 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 @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<041228aace3ee017428b18b25dc5ebe3>> + * @generated SignedSource<<58c444ecf211f798944f9fdd19b32496>> */ "use strict"; @@ -406,9 +406,7 @@ exports.createContext = function (defaultValue) { _currentValue2: defaultValue, _threadCount: 0, Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null + Consumer: null }; defaultValue.Provider = { $$typeof: REACT_PROVIDER_TYPE, @@ -545,4 +543,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-95ec12839-20240205"; +exports.version = "18.3.0-canary-472854820-20240205"; 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 12ac53162483d..0c978ff99a936 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 @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -377,9 +377,7 @@ exports.createContext = function (defaultValue) { _currentValue2: defaultValue, _threadCount: 0, Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null + Consumer: null }; defaultValue.Provider = { $$typeof: REACT_PROVIDER_TYPE, @@ -541,7 +539,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-95ec12839-20240205"; +exports.version = "18.3.0-canary-472854820-20240205"; "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 9e84b4b8a2e8c..a718a0b97f612 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 @@ -95ec128399a8b34884cc6bd90a041e03ce5c1844 +472854820bfd0058dfc85524051171c7b7c998c1 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 0797297eb7352..e34f153f16d9e 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<<23d1b7cce95eeba5b7251f184412d23c>> + * @generated SignedSource<<55b0b6588c8d91990b5450183181983a>> */ "use strict"; @@ -5353,7 +5353,6 @@ to return true:wantsResponderID| | var REACT_PROFILER_TYPE = Symbol.for("react.profiler"); var REACT_PROVIDER_TYPE = Symbol.for("react.provider"); var REACT_CONTEXT_TYPE = Symbol.for("react.context"); - var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"); var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"); var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"); var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"); @@ -9307,10 +9306,7 @@ to return true:wantsResponderID| | return createChild(returnFiber, unwrapThenable(thenable), lanes); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return createChild( returnFiber, @@ -9394,10 +9390,7 @@ to return true:wantsResponderID| | ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return updateSlot( returnFiber, @@ -9498,10 +9491,7 @@ to return true:wantsResponderID| | ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return updateFromMap( existingChildren, @@ -10208,10 +10198,7 @@ to return true:wantsResponderID| | ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return reconcileChildFibersImpl( returnFiber, @@ -11291,10 +11278,7 @@ to return true:wantsResponderID| | // This is a thenable. var thenable = usable; return useThenable(thenable); - } else if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + } else if (usable.$$typeof === REACT_CONTEXT_TYPE) { var context = usable; return readContext(context); } @@ -18896,9 +18880,7 @@ to return true:wantsResponderID| | var currentValue = valueCursor.current; { - { - context._currentValue2 = currentValue; - } + context._currentValue2 = currentValue; { var currentRenderer2 = renderer2CursorDEV.current; @@ -27855,7 +27837,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-e1f5390e"; + var ReactVersion = "18.3.0-canary-c019ca0a"; 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 4dadeff555ff7..eca5d3aeb0f2b 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<> + * @generated SignedSource<<3a5558eaeb4944df3ca0cfe4107cf763>> */ "use strict"; @@ -1680,7 +1680,6 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -2988,10 +2987,7 @@ function createChildReconciler(shouldTrackSideEffects) { ); if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconcilation(returnFiber, newChild, lanes), @@ -3037,10 +3033,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, @@ -3107,10 +3100,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, @@ -3442,10 +3432,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, @@ -3745,11 +3732,7 @@ function useThenable(thenable) { function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); - if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) - return readContext(usable); + if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error("An unsupported type was passed to use(): " + String(usable)); } @@ -9568,7 +9551,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1055 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-a763a244", + version: "18.3.0-canary-2f39fc7b", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9611,7 +9594,7 @@ var internals$jscomp$inline_1277 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-a763a244" + reconcilerVersion: "18.3.0-canary-2f39fc7b" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1278 = __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 7277550a17a3d..7eaa02de849c1 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<<0c4f48dfbbbaa951a60fefd8b5546970>> + * @generated SignedSource<<9bc29bf2feda61e11d1a54a59418b351>> */ "use strict"; @@ -1802,7 +1802,6 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -3113,10 +3112,7 @@ function createChildReconciler(shouldTrackSideEffects) { ); if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconcilation(returnFiber, newChild, lanes), @@ -3162,10 +3158,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, @@ -3232,10 +3225,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, @@ -3567,10 +3557,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, @@ -3870,11 +3857,7 @@ function useThenable(thenable) { function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); - if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) - return readContext(usable); + if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error("An unsupported type was passed to use(): " + String(usable)); } @@ -10271,7 +10254,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1133 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-a841666d", + version: "18.3.0-canary-9f917a3e", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10327,7 +10310,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-a841666d" + reconcilerVersion: "18.3.0-canary-9f917a3e" }); 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 980fdd6efe942..4d0fd3e0882ea 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<<901a1526ca77447e4134b09fdc38f5d6>> + * @generated SignedSource<<2c765d54304d1dfcbef9d3c7da4bacb5>> */ "use strict"; @@ -2969,7 +2969,6 @@ to return true:wantsResponderID| | var REACT_PROFILER_TYPE = Symbol.for("react.profiler"); var REACT_PROVIDER_TYPE = Symbol.for("react.provider"); var REACT_CONTEXT_TYPE = Symbol.for("react.context"); - var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"); var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"); var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"); var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"); @@ -9579,10 +9578,7 @@ to return true:wantsResponderID| | return createChild(returnFiber, unwrapThenable(thenable), lanes); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return createChild( returnFiber, @@ -9666,10 +9662,7 @@ to return true:wantsResponderID| | ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return updateSlot( returnFiber, @@ -9770,10 +9763,7 @@ to return true:wantsResponderID| | ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return updateFromMap( existingChildren, @@ -10480,10 +10470,7 @@ to return true:wantsResponderID| | ); } - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + if (newChild.$$typeof === REACT_CONTEXT_TYPE) { var context = newChild; return reconcileChildFibersImpl( returnFiber, @@ -11563,10 +11550,7 @@ to return true:wantsResponderID| | // This is a thenable. var thenable = usable; return useThenable(thenable); - } else if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) { + } else if (usable.$$typeof === REACT_CONTEXT_TYPE) { var context = usable; return readContext(context); } @@ -19167,9 +19151,7 @@ to return true:wantsResponderID| | var currentValue = valueCursor.current; { - { - context._currentValue = currentValue; - } + context._currentValue = currentValue; { var currentRenderer = rendererCursorDEV.current; @@ -28296,7 +28278,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-4393a1cb"; + var ReactVersion = "18.3.0-canary-f46a3bd0"; 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 158c194f99c41..307678937988d 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<<59b15e5ca700a73cc9bf94fcf684c875>> + * @generated SignedSource<<8e6e06fcc243f8ea94c0222cfcfff2f0>> */ "use strict"; @@ -1171,7 +1171,6 @@ var ReactSharedInternals = REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -3065,10 +3064,7 @@ function createChildReconciler(shouldTrackSideEffects) { ); if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconcilation(returnFiber, newChild, lanes), @@ -3114,10 +3110,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, @@ -3184,10 +3177,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, @@ -3519,10 +3509,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, @@ -3822,11 +3809,7 @@ function useThenable(thenable) { function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); - if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) - return readContext(usable); + if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error("An unsupported type was passed to use(): " + String(usable)); } @@ -9791,7 +9774,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1118 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-f01f5204", + version: "18.3.0-canary-22a47d45", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9834,7 +9817,7 @@ var internals$jscomp$inline_1354 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-f01f5204" + reconcilerVersion: "18.3.0-canary-22a47d45" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1355 = __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 41bfbe0996416..424b5ce3c4dd3 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<<8b0b9fa9590cd86d9ab71f15de42def0>> + * @generated SignedSource<> */ "use strict"; @@ -1175,7 +1175,6 @@ var ReactSharedInternals = REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), @@ -3189,10 +3188,7 @@ function createChildReconciler(shouldTrackSideEffects) { ); if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconcilation(returnFiber, newChild, lanes), @@ -3238,10 +3234,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, @@ -3308,10 +3301,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, @@ -3643,10 +3633,7 @@ function createChildReconciler(shouldTrackSideEffects) { unwrapThenable(newChild), lanes ); - if ( - newChild.$$typeof === REACT_CONTEXT_TYPE || - newChild.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) + if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, @@ -3946,11 +3933,7 @@ function useThenable(thenable) { function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); - if ( - usable.$$typeof === REACT_CONTEXT_TYPE || - usable.$$typeof === REACT_SERVER_CONTEXT_TYPE - ) - return readContext(usable); + if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error("An unsupported type was passed to use(): " + String(usable)); } @@ -10493,7 +10476,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1196 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-39e4ffcb", + version: "18.3.0-canary-57958654", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10549,7 +10532,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-39e4ffcb" + reconcilerVersion: "18.3.0-canary-57958654" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {