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 268d0db126..8e8a450d38 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<<97bac0ab36e9567435451d873bea4dcf>> + * @generated SignedSource<<714756724eaa1bcdef36d80f02d51c1a>> */ 'use strict'; @@ -201,9 +201,6 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); var REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); var REACT_CACHE_TYPE = Symbol.for("react.cache"); var REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" -); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = "@@iterator"; function getIteratorFn(maybeIterable) { @@ -319,11 +316,6 @@ function getComponentNameFromType(type) { return null; } } - - case REACT_SERVER_CONTEXT_TYPE: { - var context2 = type; - return (context2.displayName || context2._globalName) + ".Provider"; - } } } @@ -15332,9 +15324,7 @@ function popProvider(context, providerFiber) { var currentValue = valueCursor.current; { - if (currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue2 = context._defaultValue; - } else { + { context._currentValue2 = currentValue; } @@ -24780,7 +24770,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-canary-537228f9f-20231010"; +var ReactVersion = "18.3.0-canary-1fc58281a-20231011"; // 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 96bf66eb71..ea5ea3ae0e 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<<74789ed84a7dc01a6249e9f3418afe20>> + * @generated SignedSource<> */ "use strict"; @@ -50,10 +50,7 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_CACHE_TYPE = Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), - MAYBE_ITERATOR_SYMBOL = Symbol.iterator; +var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = @@ -106,11 +103,7 @@ function getComponentNameFromType(type) { type = type._init; try { return getComponentNameFromType(type(innerType)); - } catch (x) { - break; - } - case REACT_SERVER_CONTEXT_TYPE: - return (type.displayName || type._globalName) + ".Provider"; + } catch (x) {} } return null; } @@ -4646,11 +4639,7 @@ function pushProvider(providerFiber, context, nextValue) { context._currentValue2 = nextValue; } function popProvider(context) { - var currentValue = valueCursor.current; - context._currentValue2 = - currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ? context._defaultValue - : currentValue; + context._currentValue2 = valueCursor.current; pop(valueCursor); } function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { @@ -8979,7 +8968,7 @@ var devToolsConfig$jscomp$inline_1008 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-537228f9f-20231010", + version: "18.3.0-canary-1fc58281a-20231011", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1201 = { @@ -9010,7 +8999,7 @@ var internals$jscomp$inline_1201 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-537228f9f-20231010" + reconcilerVersion: "18.3.0-canary-1fc58281a-20231011" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1202 = __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 bb58db9378..54a99067e6 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<<82a7b6543c19ebb61157ecb409194495>> + * @generated SignedSource<> */ "use strict"; @@ -50,10 +50,7 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_CACHE_TYPE = Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), - MAYBE_ITERATOR_SYMBOL = Symbol.iterator; +var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = @@ -106,11 +103,7 @@ function getComponentNameFromType(type) { type = type._init; try { return getComponentNameFromType(type(innerType)); - } catch (x) { - break; - } - case REACT_SERVER_CONTEXT_TYPE: - return (type.displayName || type._globalName) + ".Provider"; + } catch (x) {} } return null; } @@ -4750,11 +4743,7 @@ function pushProvider(providerFiber, context, nextValue) { context._currentValue2 = nextValue; } function popProvider(context) { - var currentValue = valueCursor.current; - context._currentValue2 = - currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ? context._defaultValue - : currentValue; + context._currentValue2 = valueCursor.current; pop(valueCursor); } function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { @@ -9405,7 +9394,7 @@ var devToolsConfig$jscomp$inline_1050 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-537228f9f-20231010", + version: "18.3.0-canary-1fc58281a-20231011", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1242 = { @@ -9436,7 +9425,7 @@ var internals$jscomp$inline_1242 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-537228f9f-20231010" + reconcilerVersion: "18.3.0-canary-1fc58281a-20231011" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1243 = __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 f64feb945f..a337265fbd 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<<26475298aa34ad2cd59665f1ded7480c>> + * @generated SignedSource<> */ 'use strict'; @@ -29,7 +29,6 @@ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"); 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"); @@ -241,11 +240,6 @@ function getComponentNameFromType(type) { return null; } } - - case REACT_SERVER_CONTEXT_TYPE: { - var context2 = type; - return (context2.displayName || context2._globalName) + ".Provider"; - } } } 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 8e4295cc06..64605880ad 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<> + * @generated SignedSource<<80f486069e03d14e203b127506953943>> */ 'use strict'; @@ -29,7 +29,6 @@ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"); 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"); @@ -241,11 +240,6 @@ function getComponentNameFromType(type) { return null; } } - - case REACT_SERVER_CONTEXT_TYPE: { - var context2 = type; - return (context2.displayName || context2._globalName) + ".Provider"; - } } } 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 e62d2cb54b..7eda42d21d 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<<71499eceb285e226843aaef5ea44794f>> + * @generated SignedSource<<3b748e6ef3690d854b6a0ddd99a5ffc5>> */ 'use strict'; @@ -27,7 +27,7 @@ if ( } "use strict"; -var ReactVersion = "18.3.0-canary-537228f9f-20231010"; +var ReactVersion = "18.3.0-canary-1fc58281a-20231011"; // ATTENTION // When adding new symbols to this file, @@ -40,7 +40,6 @@ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"); 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"); @@ -52,9 +51,6 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); var REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); var REACT_CACHE_TYPE = Symbol.for("react.cache"); var REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" -); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = "@@iterator"; function getIteratorFn(maybeIterable) { @@ -159,8 +155,6 @@ var enableDebugTracing = false; var enableScopeAPI = false; var enableTransitionTracing = false; -var ContextRegistry = {}; - var ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher, ReactCurrentCache: ReactCurrentCache, @@ -173,10 +167,6 @@ var ReactSharedInternals = { ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue; } -{ - ReactSharedInternals.ContextRegistry = ContextRegistry; -} - // by calls to these methods by a Babel plugin. // // In PROD (or in packages without access to React internals), @@ -674,11 +664,6 @@ function getComponentNameFromType(type) { return null; } } - - case REACT_SERVER_CONTEXT_TYPE: { - var context2 = type; - return (context2.displayName || context2._globalName) + ".Provider"; - } } } @@ -2704,87 +2689,6 @@ function cloneElementWithValidation(element, props, children) { return newElement; } -function createServerContext(globalName, defaultValue) { - { - error( - "Server Context is deprecated and will soon be removed. " + - "It was never documented and we have found it not to be useful " + - "enough to warrant the downside it imposes on all apps." - ); - } - - var wasDefined = true; - - if (!ContextRegistry[globalName]) { - wasDefined = false; - var _context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: defaultValue, - _currentValue2: defaultValue, - _defaultValue: defaultValue, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - _context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: _context - }; - - { - var hasWarnedAboutUsingConsumer; - _context._currentRenderer = null; - _context._currentRenderer2 = null; - Object.defineProperties(_context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error("Consumer pattern is not supported by ReactServerContext"); - - hasWarnedAboutUsingConsumer = true; - } - - return null; - } - } - }); - } - - ContextRegistry[globalName] = _context; - } - - var context = ContextRegistry[globalName]; - - if (context._defaultValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._defaultValue = defaultValue; - - if ( - context._currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ) { - context._currentValue = defaultValue; - } - - if ( - context._currentValue2 === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ) { - context._currentValue2 = defaultValue; - } - } else if (wasDefined) { - throw new Error("ServerContext: " + globalName + " already defined"); - } - - return context; -} - function startTransition(scope, options) { var prevTransition = ReactCurrentBatchConfig.transition; ReactCurrentBatchConfig.transition = {}; @@ -3913,7 +3817,6 @@ exports.createContext = createContext; exports.createElement = createElement; exports.createFactory = createFactory; exports.createRef = createRef; -exports.createServerContext = createServerContext; exports.experimental_useEffectEvent = useEffectEvent; exports.forwardRef = forwardRef; exports.isValidElement = isValidElement$1; 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 365faa62f9..6d225aac20 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<> + * @generated SignedSource<<0c835208db0dbaff4c6fa25e0a04c118>> */ "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"), @@ -30,9 +29,6 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_CACHE_TYPE = Symbol.for("react.cache"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), - REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -282,13 +278,11 @@ function createCacheNode() { } var ReactCurrentDispatcher = { current: null }, ReactCurrentBatchConfig = { transition: null }, - ContextRegistry = {}, ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher, ReactCurrentCache: ReactCurrentCache, ReactCurrentBatchConfig: ReactCurrentBatchConfig, - ReactCurrentOwner: ReactCurrentOwner$1, - ContextRegistry: ContextRegistry + ReactCurrentOwner: ReactCurrentOwner$1 }, ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner, RESERVED_PROPS = { key: !0, ref: !0, __self: !0, __source: !0 }; @@ -464,36 +458,6 @@ exports.createFactory = function (type) { exports.createRef = function () { return { current: null }; }; -exports.createServerContext = function (globalName, defaultValue) { - var wasDefined = !0; - if (!ContextRegistry[globalName]) { - wasDefined = !1; - var context$1 = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - _currentValue: defaultValue, - _currentValue2: defaultValue, - _defaultValue: defaultValue, - _threadCount: 0, - Provider: null, - Consumer: null, - _globalName: globalName - }; - context$1.Provider = { $$typeof: REACT_PROVIDER_TYPE, _context: context$1 }; - ContextRegistry[globalName] = context$1; - } - context$1 = ContextRegistry[globalName]; - if (context$1._defaultValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) - (context$1._defaultValue = defaultValue), - context$1._currentValue === - REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED && - (context$1._currentValue = defaultValue), - context$1._currentValue2 === - REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED && - (context$1._currentValue2 = defaultValue); - else if (wasDefined) - throw Error("ServerContext: " + globalName + " already defined"); - return context$1; -}; exports.experimental_useEffectEvent = function (callback) { return ReactCurrentDispatcher.current.useEffectEvent(callback); }; @@ -616,4 +580,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-537228f9f-20231010"; +exports.version = "18.3.0-canary-1fc58281a-20231011"; 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 5f78939207..525d96cac5 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<<377c432dea6f7a43c2e92ce91bc02137>> + * @generated SignedSource<<291f930cb799e5fec85201032e4df618>> */ @@ -29,7 +29,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"), @@ -40,9 +39,6 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_CACHE_TYPE = Symbol.for("react.cache"), - REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -260,13 +256,11 @@ function createCacheNode() { } var ReactCurrentDispatcher = { current: null }, ReactCurrentBatchConfig = { transition: null }, - ContextRegistry = {}, ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher, ReactCurrentCache: ReactCurrentCache, ReactCurrentBatchConfig: ReactCurrentBatchConfig, - ReactCurrentOwner: ReactCurrentOwner$1, - ContextRegistry: ContextRegistry + ReactCurrentOwner: ReactCurrentOwner$1 }, ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner, RESERVED_PROPS = { key: !0, ref: !0, __self: !0, __source: !0 }; @@ -468,36 +462,6 @@ exports.createElement = function (type, config, children) { exports.createRef = function () { return { current: null }; }; -exports.createServerContext = function (globalName, defaultValue) { - var wasDefined = !0; - if (!ContextRegistry[globalName]) { - wasDefined = !1; - var context$1 = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - _currentValue: defaultValue, - _currentValue2: defaultValue, - _defaultValue: defaultValue, - _threadCount: 0, - Provider: null, - Consumer: null, - _globalName: globalName - }; - context$1.Provider = { $$typeof: REACT_PROVIDER_TYPE, _context: context$1 }; - ContextRegistry[globalName] = context$1; - } - context$1 = ContextRegistry[globalName]; - if (context$1._defaultValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) - (context$1._defaultValue = defaultValue), - context$1._currentValue === - REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED && - (context$1._currentValue = defaultValue), - context$1._currentValue2 === - REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED && - (context$1._currentValue2 = defaultValue); - else if (wasDefined) - throw Error("ServerContext: " + globalName + " already defined"); - return context$1; -}; exports.experimental_useEffectEvent = function (callback) { return ReactCurrentDispatcher.current.useEffectEvent(callback); }; @@ -619,7 +583,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-537228f9f-20231010"; +exports.version = "18.3.0-canary-1fc58281a-20231011"; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( 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 8d3f727336..6e4bf763a0 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 @@ -537228f9fd703d18bea1f6d20fa0e5006b795c42 +1fc58281af73ca4507c41d53a3e08dc2038b0c1f 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 2fa9b0f069..7d684bae5a 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<<97c56293b7db6cfac5a9963393c0954d>> + * @generated SignedSource<<53a5311e5d4ac87ca8a6a8458a826da0>> */ 'use strict'; @@ -5206,9 +5206,6 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); var REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); var REACT_CACHE_TYPE = Symbol.for("react.cache"); var REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" -); var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = "@@iterator"; @@ -5321,11 +5318,6 @@ function getComponentNameFromType(type) { return null; } } - - case REACT_SERVER_CONTEXT_TYPE: { - var context2 = type; - return (context2.displayName || context2._globalName) + ".Provider"; - } } } @@ -18450,9 +18442,7 @@ function popProvider(context, providerFiber) { var currentValue = valueCursor.current; { - if (currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue2 = context._defaultValue; - } else { + { context._currentValue2 = currentValue; } @@ -27151,7 +27141,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-canary-80773e83"; +var ReactVersion = "18.3.0-canary-543231b3"; 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 cd49758bac..e31966894d 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<> */ "use strict"; @@ -1684,10 +1684,7 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), - REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), +var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -1739,11 +1736,7 @@ function getComponentNameFromType(type) { type = type._init; try { return getComponentNameFromType(type(innerType)); - } catch (x) { - break; - } - case REACT_SERVER_CONTEXT_TYPE: - return (type.displayName || type._globalName) + ".Provider"; + } catch (x) {} } return null; } @@ -5722,11 +5715,7 @@ function resetContextDependencies() { null; } function popProvider(context) { - var currentValue = valueCursor.current; - context._currentValue2 = - currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ? context._defaultValue - : currentValue; + context._currentValue2 = valueCursor.current; pop(valueCursor); } function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { @@ -9477,7 +9466,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1032 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-2ed3f960", + version: "18.3.0-canary-3b819908", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9520,7 +9509,7 @@ var internals$jscomp$inline_1276 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-2ed3f960" + reconcilerVersion: "18.3.0-canary-3b819908" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1277 = __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 52143202f0..903d64d000 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<> + * @generated SignedSource<> */ @@ -1812,10 +1812,7 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), - REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), +var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -1867,11 +1864,7 @@ function getComponentNameFromType(type) { type = type._init; try { return getComponentNameFromType(type(innerType)); - } catch (x) { - break; - } - case REACT_SERVER_CONTEXT_TYPE: - return (type.displayName || type._globalName) + ".Provider"; + } catch (x) {} } return null; } @@ -5952,11 +5945,7 @@ function resetContextDependencies() { null; } function popProvider(context) { - var currentValue = valueCursor.current; - context._currentValue2 = - currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ? context._defaultValue - : currentValue; + context._currentValue2 = valueCursor.current; pop(valueCursor); } function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { @@ -10185,7 +10174,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1110 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-ff4e1e03", + version: "18.3.0-canary-9fff8faa", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10241,7 +10230,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-ff4e1e03" + reconcilerVersion: "18.3.0-canary-9fff8faa" }); 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 6a03520ad3..90d2d81f52 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<<351a5b26f988be6792b19bf63efe106b>> */ 'use strict'; @@ -2930,9 +2930,6 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); var REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); var REACT_CACHE_TYPE = Symbol.for("react.cache"); var REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" -); var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = "@@iterator"; @@ -3045,11 +3042,6 @@ function getComponentNameFromType(type) { return null; } } - - case REACT_SERVER_CONTEXT_TYPE: { - var context2 = type; - return (context2.displayName || context2._globalName) + ".Provider"; - } } } @@ -18721,9 +18713,7 @@ function popProvider(context, providerFiber) { var currentValue = valueCursor.current; { - if (currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue = context._defaultValue; - } else { + { context._currentValue = currentValue; } @@ -27581,7 +27571,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-canary-7aaeb281"; +var ReactVersion = "18.3.0-canary-99bcfaa2"; 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 85d5b580a8..8d1ae72ef8 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<<162c589cbfcd1099951894d52dc27b62>> */ "use strict"; @@ -1182,10 +1182,7 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), - REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), +var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -1237,11 +1234,7 @@ function getComponentNameFromType(type) { type = type._init; try { return getComponentNameFromType(type(innerType)); - } catch (x) { - break; - } - case REACT_SERVER_CONTEXT_TYPE: - return (type.displayName || type._globalName) + ".Provider"; + } catch (x) {} } return null; } @@ -5788,11 +5781,7 @@ function resetContextDependencies() { null; } function popProvider(context) { - var currentValue = valueCursor.current; - context._currentValue = - currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ? context._defaultValue - : currentValue; + context._currentValue = valueCursor.current; pop(valueCursor); } function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { @@ -9695,7 +9684,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1095 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-1520107d", + version: "18.3.0-canary-2507a231", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9738,7 +9727,7 @@ var internals$jscomp$inline_1353 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-1520107d" + reconcilerVersion: "18.3.0-canary-2507a231" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1354 = __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 eba074ea04..2eb32a3880 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<<39bf2c8f9557be7ed54f82946845384a>> + * @generated SignedSource<<8ef2cc142d91c0d00ac049494fe13842>> */ @@ -1193,10 +1193,7 @@ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for( - "react.default_value" - ), - REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), +var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -1248,11 +1245,7 @@ function getComponentNameFromType(type) { type = type._init; try { return getComponentNameFromType(type(innerType)); - } catch (x) { - break; - } - case REACT_SERVER_CONTEXT_TYPE: - return (type.displayName || type._globalName) + ".Provider"; + } catch (x) {} } return null; } @@ -6018,11 +6011,7 @@ function resetContextDependencies() { null; } function popProvider(context) { - var currentValue = valueCursor.current; - context._currentValue = - currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED - ? context._defaultValue - : currentValue; + context._currentValue = valueCursor.current; pop(valueCursor); } function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { @@ -10403,7 +10392,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1173 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-00f90fb9", + version: "18.3.0-canary-306bec6b", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10459,7 +10448,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-00f90fb9" + reconcilerVersion: "18.3.0-canary-306bec6b" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {