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 6f4161b3adf89..fc48e00896d03 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<<90d4b49133c0f3de327f45d0812fd8e9>> + * @generated SignedSource<<0e3d907c9303927e282697c3cd932853>> */ 'use strict'; @@ -144,7 +144,6 @@ var enableProfilerNestedUpdatePhase = true; var createRootStrictEffectsByDefault = false; var enableLazyContextPropagation = false; var enableLegacyHidden = false; -var diffInCommitPhase = true; var enableAsyncActions = false; var alwaysThrottleRetries = true; // Flow magic to verify the exports of this file match the original version. @@ -15089,9 +15088,7 @@ function updateHostComponent( return; } - { - markUpdate(workInProgress); - } + markUpdate(workInProgress); } } // This function must be called at the very end of the complete phase, because // it might throw to suspend, and if the resource immediately loads, the work @@ -15541,7 +15538,7 @@ function completeWork(current, workInProgress, renderLanes) { return null; } - var _currentHostContext2 = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context + var _currentHostContext = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context // "stack" as the parent. Then append children as we go in beginWork // or completeWork depending on whether we want to add them top->down or // bottom->up. Top->down is faster in IE11. @@ -15551,11 +15548,7 @@ function completeWork(current, workInProgress, renderLanes) { if (_wasHydrated2) { // TODO: Move this and createInstance step into the beginPhase // to consolidate. - if (prepareToHydrateHostInstance()) { - // If changes to the hydrated node need to be applied at the - // commit-phase we mark this as such. - markUpdate(workInProgress); - } + prepareToHydrateHostInstance(); } else { var _rootContainerInstance = getRootHostContainer(); @@ -15563,7 +15556,7 @@ function completeWork(current, workInProgress, renderLanes) { _type2, newProps, _rootContainerInstance, - _currentHostContext2, + _currentHostContext, workInProgress ); @@ -18358,23 +18351,17 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { var _updatePayload = finishedWork.updateQueue; finishedWork.updateQueue = null; - if (_updatePayload !== null || diffInCommitPhase) { - try { - commitUpdate( - _instance2, - _updatePayload, - type, - oldProps, - newProps, - finishedWork - ); - } catch (error) { - captureCommitPhaseError( - finishedWork, - finishedWork.return, - error - ); - } + try { + commitUpdate( + _instance2, + _updatePayload, + type, + oldProps, + newProps, + finishedWork + ); + } catch (error) { + captureCommitPhaseError(finishedWork, finishedWork.return, error); } } } @@ -23998,7 +23985,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-canary-d9e00f795-20230922"; +var ReactVersion = "18.3.0-canary-7f6201889-20230922"; // 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 7e4677f36b3e4..d1526d118c56f 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<<5361a5f040398d7d166b0f13b30a010c>> + * @generated SignedSource<> */ "use strict"; @@ -8615,19 +8615,19 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var devToolsConfig$jscomp$inline_1028 = { +var devToolsConfig$jscomp$inline_1027 = { findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-d9e00f795-20230922", + version: "18.3.0-canary-7f6201889-20230922", rendererPackageName: "react-test-renderer" }; -var internals$jscomp$inline_1227 = { - bundleType: devToolsConfig$jscomp$inline_1028.bundleType, - version: devToolsConfig$jscomp$inline_1028.version, - rendererPackageName: devToolsConfig$jscomp$inline_1028.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1028.rendererConfig, +var internals$jscomp$inline_1226 = { + bundleType: devToolsConfig$jscomp$inline_1027.bundleType, + version: devToolsConfig$jscomp$inline_1027.version, + rendererPackageName: devToolsConfig$jscomp$inline_1027.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1027.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -8644,26 +8644,26 @@ var internals$jscomp$inline_1227 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1028.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1027.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-d9e00f795-20230922" + reconcilerVersion: "18.3.0-canary-7f6201889-20230922" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1228 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1228.isDisabled && - hook$jscomp$inline_1228.supportsFiber + !hook$jscomp$inline_1227.isDisabled && + hook$jscomp$inline_1227.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1228.inject( - internals$jscomp$inline_1227 + (rendererID = hook$jscomp$inline_1227.inject( + internals$jscomp$inline_1226 )), - (injectedHook = hook$jscomp$inline_1228); + (injectedHook = hook$jscomp$inline_1227); } catch (err) {} } exports._Scheduler = Scheduler; 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 8a4e707c678b7..dfb68c4067112 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<<486546c05387fd5f0f9d0c9c12aa9b75>> + * @generated SignedSource<> */ "use strict"; @@ -9041,19 +9041,19 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var devToolsConfig$jscomp$inline_1070 = { +var devToolsConfig$jscomp$inline_1069 = { findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-d9e00f795-20230922", + version: "18.3.0-canary-7f6201889-20230922", rendererPackageName: "react-test-renderer" }; -var internals$jscomp$inline_1268 = { - bundleType: devToolsConfig$jscomp$inline_1070.bundleType, - version: devToolsConfig$jscomp$inline_1070.version, - rendererPackageName: devToolsConfig$jscomp$inline_1070.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1070.rendererConfig, +var internals$jscomp$inline_1267 = { + bundleType: devToolsConfig$jscomp$inline_1069.bundleType, + version: devToolsConfig$jscomp$inline_1069.version, + rendererPackageName: devToolsConfig$jscomp$inline_1069.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1069.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -9070,26 +9070,26 @@ var internals$jscomp$inline_1268 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1070.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1069.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-d9e00f795-20230922" + reconcilerVersion: "18.3.0-canary-7f6201889-20230922" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1269 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1269.isDisabled && - hook$jscomp$inline_1269.supportsFiber + !hook$jscomp$inline_1268.isDisabled && + hook$jscomp$inline_1268.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1269.inject( - internals$jscomp$inline_1268 + (rendererID = hook$jscomp$inline_1268.inject( + internals$jscomp$inline_1267 )), - (injectedHook = hook$jscomp$inline_1269); + (injectedHook = hook$jscomp$inline_1268); } catch (err) {} } exports._Scheduler = Scheduler; 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 be803cfe1c913..d85fe5cd99843 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 @@ -27,7 +27,7 @@ if ( } "use strict"; -var ReactVersion = "18.3.0-canary-d9e00f795-20230922"; +var ReactVersion = "18.3.0-canary-7f6201889-20230922"; // ATTENTION // When adding new symbols to this file, 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 3d5faecab163b..21a493fea8bb5 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 @@ -616,4 +616,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-d9e00f795-20230922"; +exports.version = "18.3.0-canary-7f6201889-20230922"; 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 43998697bcd99..a3ee69a1cbbad 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 @@ -619,7 +619,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-d9e00f795-20230922"; +exports.version = "18.3.0-canary-7f6201889-20230922"; /* 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 942b120956f3b..07f1f0cc909e8 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 @@ -d9e00f795b77676fb14f2a3c6f421f48f73bec2a +7f6201889e8e628eeb53e05d8850ddffa3c2e74a 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 67f055e1c906c..1691cc83f88e7 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<<01008a8950368c139ee32158a8728c5d>> + * @generated SignedSource<> */ 'use strict'; @@ -4997,7 +4997,6 @@ var cancelTimeout = clearTimeout; var noTimeout = -1; // ------------------- function cloneInstance( instance, - updatePayload, type, oldProps, newProps, @@ -5005,15 +5004,12 @@ function cloneInstance( keepChildren, recyclableInstance ) { - { - var viewConfig = instance.canonical.viewConfig; - updatePayload = diff(oldProps, newProps, viewConfig.validAttributes); // TODO: If the event handlers have changed, we need to update the current props - // in the commit phase but there is no host config hook to do it yet. - // So instead we hack it by updating it in the render phase. - - instance.canonical.currentProps = newProps; - } + var viewConfig = instance.canonical.viewConfig; + var updatePayload = diff(oldProps, newProps, viewConfig.validAttributes); // TODO: If the event handlers have changed, we need to update the current props + // in the commit phase but there is no host config hook to do it yet. + // So instead we hack it by updating it in the render phase. + instance.canonical.currentProps = newProps; var node = instance.node; var clone; @@ -5021,10 +5017,8 @@ function cloneInstance( if (updatePayload !== null) { clone = cloneNodeWithNewProps(node, updatePayload); } else { - { - // No changes - return instance; - } + // No changes + return instance; } } else { if (updatePayload !== null) { @@ -18880,14 +18874,9 @@ function updateHostComponent( workInProgress.stateNode = currentInstance; return; } - getHostContext(); - - var _updatePayload = null; - var newInstance = cloneInstance( currentInstance, - _updatePayload, type, _oldProps, newProps, @@ -19359,7 +19348,7 @@ function completeWork(current, workInProgress, renderLanes) { return null; } - var _currentHostContext2 = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context + var _currentHostContext = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context // "stack" as the parent. Then append children as we go in beginWork // or completeWork depending on whether we want to add them top->down or // bottom->up. Top->down is faster in IE11. @@ -19369,11 +19358,7 @@ function completeWork(current, workInProgress, renderLanes) { if (_wasHydrated2) { // TODO: Move this and createInstance step into the beginPhase // to consolidate. - if (prepareToHydrateHostInstance()) { - // If changes to the hydrated node need to be applied at the - // commit-phase we mark this as such. - markUpdate(workInProgress); - } + prepareToHydrateHostInstance(); } else { var _rootContainerInstance = getRootHostContainer(); @@ -19381,7 +19366,7 @@ function completeWork(current, workInProgress, renderLanes) { _type2, newProps, _rootContainerInstance, - _currentHostContext2, + _currentHostContext, workInProgress ); @@ -19424,7 +19409,7 @@ function completeWork(current, workInProgress, renderLanes) { var _rootContainerInstance2 = getRootHostContainer(); - var _currentHostContext3 = getHostContext(); + var _currentHostContext2 = getHostContext(); var _wasHydrated3 = popHydrationState(); @@ -19436,7 +19421,7 @@ function completeWork(current, workInProgress, renderLanes) { workInProgress.stateNode = createTextInstance( newText, _rootContainerInstance2, - _currentHostContext3, + _currentHostContext2, workInProgress ); } @@ -27037,7 +27022,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-canary-f73f8a34"; +var ReactVersion = "18.3.0-canary-b65b3ea2"; 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 40e86b3b5b98f..19294b6d08f57 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<<04ae3f849bac2edae707d11362d5d19e>> */ "use strict"; @@ -940,7 +940,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_234 = { +var injectedNamesToPlugins$jscomp$inline_233 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -986,32 +986,32 @@ var injectedNamesToPlugins$jscomp$inline_234 = { } } }, - isOrderingDirty$jscomp$inline_235 = !1, - pluginName$jscomp$inline_236; -for (pluginName$jscomp$inline_236 in injectedNamesToPlugins$jscomp$inline_234) + isOrderingDirty$jscomp$inline_234 = !1, + pluginName$jscomp$inline_235; +for (pluginName$jscomp$inline_235 in injectedNamesToPlugins$jscomp$inline_233) if ( - injectedNamesToPlugins$jscomp$inline_234.hasOwnProperty( - pluginName$jscomp$inline_236 + injectedNamesToPlugins$jscomp$inline_233.hasOwnProperty( + pluginName$jscomp$inline_235 ) ) { - var pluginModule$jscomp$inline_237 = - injectedNamesToPlugins$jscomp$inline_234[pluginName$jscomp$inline_236]; + var pluginModule$jscomp$inline_236 = + injectedNamesToPlugins$jscomp$inline_233[pluginName$jscomp$inline_235]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_236) || - namesToPlugins[pluginName$jscomp$inline_236] !== - pluginModule$jscomp$inline_237 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_235) || + namesToPlugins[pluginName$jscomp$inline_235] !== + pluginModule$jscomp$inline_236 ) { - if (namesToPlugins[pluginName$jscomp$inline_236]) + if (namesToPlugins[pluginName$jscomp$inline_235]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_236 + "`.") + (pluginName$jscomp$inline_235 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_236] = - pluginModule$jscomp$inline_237; - isOrderingDirty$jscomp$inline_235 = !0; + namesToPlugins[pluginName$jscomp$inline_235] = + pluginModule$jscomp$inline_236; + isOrderingDirty$jscomp$inline_234 = !0; } } -isOrderingDirty$jscomp$inline_235 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_234 && recomputePluginOrdering(); var emptyObject$1 = {}, removedKeys = null, removedKeyCount = 0, @@ -9422,10 +9422,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1038 = { + devToolsConfig$jscomp$inline_1036 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-af8a5ec1", + version: "18.3.0-canary-b022a1e4", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9441,11 +9441,11 @@ var roots = new Map(), }.bind(null, findNodeHandle) } }; -var internals$jscomp$inline_1280 = { - bundleType: devToolsConfig$jscomp$inline_1038.bundleType, - version: devToolsConfig$jscomp$inline_1038.version, - rendererPackageName: devToolsConfig$jscomp$inline_1038.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1038.rendererConfig, +var internals$jscomp$inline_1278 = { + bundleType: devToolsConfig$jscomp$inline_1036.bundleType, + version: devToolsConfig$jscomp$inline_1036.version, + rendererPackageName: devToolsConfig$jscomp$inline_1036.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1036.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -9461,26 +9461,26 @@ var internals$jscomp$inline_1280 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1038.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1036.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-af8a5ec1" + reconcilerVersion: "18.3.0-canary-b022a1e4" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1281 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1279 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1281.isDisabled && - hook$jscomp$inline_1281.supportsFiber + !hook$jscomp$inline_1279.isDisabled && + hook$jscomp$inline_1279.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1281.inject( - internals$jscomp$inline_1280 + (rendererID = hook$jscomp$inline_1279.inject( + internals$jscomp$inline_1278 )), - (injectedHook = hook$jscomp$inline_1281); + (injectedHook = hook$jscomp$inline_1279); } catch (err) {} } exports.createPortal = function (children, containerTag) { 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 c8ce5ff219558..47e9aefcd9e3b 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<<6b16278436dd259e22a3d49533f17505>> + * @generated SignedSource<<9f4142ee8a890d433886d66ac26070c0>> */ @@ -951,7 +951,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_250 = { +var injectedNamesToPlugins$jscomp$inline_249 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -997,32 +997,32 @@ var injectedNamesToPlugins$jscomp$inline_250 = { } } }, - isOrderingDirty$jscomp$inline_251 = !1, - pluginName$jscomp$inline_252; -for (pluginName$jscomp$inline_252 in injectedNamesToPlugins$jscomp$inline_250) + isOrderingDirty$jscomp$inline_250 = !1, + pluginName$jscomp$inline_251; +for (pluginName$jscomp$inline_251 in injectedNamesToPlugins$jscomp$inline_249) if ( - injectedNamesToPlugins$jscomp$inline_250.hasOwnProperty( - pluginName$jscomp$inline_252 + injectedNamesToPlugins$jscomp$inline_249.hasOwnProperty( + pluginName$jscomp$inline_251 ) ) { - var pluginModule$jscomp$inline_253 = - injectedNamesToPlugins$jscomp$inline_250[pluginName$jscomp$inline_252]; + var pluginModule$jscomp$inline_252 = + injectedNamesToPlugins$jscomp$inline_249[pluginName$jscomp$inline_251]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_252) || - namesToPlugins[pluginName$jscomp$inline_252] !== - pluginModule$jscomp$inline_253 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_251) || + namesToPlugins[pluginName$jscomp$inline_251] !== + pluginModule$jscomp$inline_252 ) { - if (namesToPlugins[pluginName$jscomp$inline_252]) + if (namesToPlugins[pluginName$jscomp$inline_251]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_252 + "`.") + (pluginName$jscomp$inline_251 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_252] = - pluginModule$jscomp$inline_253; - isOrderingDirty$jscomp$inline_251 = !0; + namesToPlugins[pluginName$jscomp$inline_251] = + pluginModule$jscomp$inline_252; + isOrderingDirty$jscomp$inline_250 = !0; } } -isOrderingDirty$jscomp$inline_251 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_250 && recomputePluginOrdering(); var emptyObject$1 = {}, removedKeys = null, removedKeyCount = 0, @@ -10130,10 +10130,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1116 = { + devToolsConfig$jscomp$inline_1114 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-db5e081b", + version: "18.3.0-canary-dd4845b0", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10163,10 +10163,10 @@ var roots = new Map(), } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1116.bundleType, - version: devToolsConfig$jscomp$inline_1116.version, - rendererPackageName: devToolsConfig$jscomp$inline_1116.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1116.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1114.bundleType, + version: devToolsConfig$jscomp$inline_1114.version, + rendererPackageName: devToolsConfig$jscomp$inline_1114.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1114.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10182,14 +10182,14 @@ var roots = new Map(), return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1116.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1114.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-db5e081b" + reconcilerVersion: "18.3.0-canary-dd4845b0" }); 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 5faea909a3347..24effa93f38f5 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<<7dc852806831b7111cfc72d0b9e0e745>> */ 'use strict'; @@ -2904,7 +2904,6 @@ var enableProfilerCommitHooks = true; var enableProfilerNestedUpdatePhase = true; var createRootStrictEffectsByDefault = false; var enableLazyContextPropagation = false; -var diffInCommitPhase = true; var enableAsyncActions = false; // Flow magic to verify the exports of this file match the original version. // ATTENTION @@ -5652,6 +5651,8 @@ var suspendResource = shim; var getViewConfigForType = ReactNativePrivateInterface.ReactNativeViewConfigRegistry.get; // Unused +// Unused +// Counter for uniquely identifying views. // % 10 === 1 means it is a rootTag. // % 2 === 0 means it is a Fabric tag. @@ -19043,9 +19044,7 @@ function updateHostComponent( return; } - { - markUpdate(workInProgress); - } + markUpdate(workInProgress); } } // This function must be called at the very end of the complete phase, because // it might throw to suspend, and if the resource immediately loads, the work @@ -19478,7 +19477,7 @@ function completeWork(current, workInProgress, renderLanes) { return null; } - var _currentHostContext2 = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context + var _currentHostContext = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context // "stack" as the parent. Then append children as we go in beginWork // or completeWork depending on whether we want to add them top->down or // bottom->up. Top->down is faster in IE11. @@ -19488,11 +19487,7 @@ function completeWork(current, workInProgress, renderLanes) { if (_wasHydrated2) { // TODO: Move this and createInstance step into the beginPhase // to consolidate. - if (prepareToHydrateHostInstance()) { - // If changes to the hydrated node need to be applied at the - // commit-phase we mark this as such. - markUpdate(workInProgress); - } + prepareToHydrateHostInstance(); } else { var _rootContainerInstance = getRootHostContainer(); @@ -19500,7 +19495,7 @@ function completeWork(current, workInProgress, renderLanes) { _type2, newProps, _rootContainerInstance, - _currentHostContext2, + _currentHostContext, workInProgress ); @@ -19549,7 +19544,7 @@ function completeWork(current, workInProgress, renderLanes) { var _rootContainerInstance2 = getRootHostContainer(); - var _currentHostContext3 = getHostContext(); + var _currentHostContext2 = getHostContext(); var _wasHydrated3 = popHydrationState(); @@ -19561,7 +19556,7 @@ function completeWork(current, workInProgress, renderLanes) { workInProgress.stateNode = createTextInstance( newText, _rootContainerInstance2, - _currentHostContext3, + _currentHostContext2, workInProgress ); } @@ -22042,23 +22037,17 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { var _updatePayload = finishedWork.updateQueue; finishedWork.updateQueue = null; - if (_updatePayload !== null || diffInCommitPhase) { - try { - commitUpdate( - _instance2, - _updatePayload, - type, - oldProps, - newProps, - finishedWork - ); - } catch (error) { - captureCommitPhaseError( - finishedWork, - finishedWork.return, - error - ); - } + try { + commitUpdate( + _instance2, + _updatePayload, + type, + oldProps, + newProps, + finishedWork + ); + } catch (error) { + captureCommitPhaseError(finishedWork, finishedWork.return, error); } } } @@ -27551,7 +27540,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-canary-28a7f6a0"; +var ReactVersion = "18.3.0-canary-03678cdf"; 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 2c66506d84ef0..ab8d6926eacb0 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<> */ "use strict"; @@ -940,7 +940,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_240 = { +var injectedNamesToPlugins$jscomp$inline_239 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -986,32 +986,32 @@ var injectedNamesToPlugins$jscomp$inline_240 = { } } }, - isOrderingDirty$jscomp$inline_241 = !1, - pluginName$jscomp$inline_242; -for (pluginName$jscomp$inline_242 in injectedNamesToPlugins$jscomp$inline_240) + isOrderingDirty$jscomp$inline_240 = !1, + pluginName$jscomp$inline_241; +for (pluginName$jscomp$inline_241 in injectedNamesToPlugins$jscomp$inline_239) if ( - injectedNamesToPlugins$jscomp$inline_240.hasOwnProperty( - pluginName$jscomp$inline_242 + injectedNamesToPlugins$jscomp$inline_239.hasOwnProperty( + pluginName$jscomp$inline_241 ) ) { - var pluginModule$jscomp$inline_243 = - injectedNamesToPlugins$jscomp$inline_240[pluginName$jscomp$inline_242]; + var pluginModule$jscomp$inline_242 = + injectedNamesToPlugins$jscomp$inline_239[pluginName$jscomp$inline_241]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_242) || - namesToPlugins[pluginName$jscomp$inline_242] !== - pluginModule$jscomp$inline_243 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_241) || + namesToPlugins[pluginName$jscomp$inline_241] !== + pluginModule$jscomp$inline_242 ) { - if (namesToPlugins[pluginName$jscomp$inline_242]) + if (namesToPlugins[pluginName$jscomp$inline_241]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_242 + "`.") + (pluginName$jscomp$inline_241 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_242] = - pluginModule$jscomp$inline_243; - isOrderingDirty$jscomp$inline_241 = !0; + namesToPlugins[pluginName$jscomp$inline_241] = + pluginModule$jscomp$inline_242; + isOrderingDirty$jscomp$inline_240 = !0; } } -isOrderingDirty$jscomp$inline_241 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_240 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -9678,10 +9678,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1093 = { + devToolsConfig$jscomp$inline_1092 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-38805935", + version: "18.3.0-canary-903ae3ec", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9697,11 +9697,11 @@ var roots = new Map(), }.bind(null, findNodeHandle) } }; -var internals$jscomp$inline_1349 = { - bundleType: devToolsConfig$jscomp$inline_1093.bundleType, - version: devToolsConfig$jscomp$inline_1093.version, - rendererPackageName: devToolsConfig$jscomp$inline_1093.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1093.rendererConfig, +var internals$jscomp$inline_1348 = { + bundleType: devToolsConfig$jscomp$inline_1092.bundleType, + version: devToolsConfig$jscomp$inline_1092.version, + rendererPackageName: devToolsConfig$jscomp$inline_1092.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1092.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -9717,26 +9717,26 @@ var internals$jscomp$inline_1349 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1093.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1092.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-38805935" + reconcilerVersion: "18.3.0-canary-903ae3ec" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1350 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1349 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1350.isDisabled && - hook$jscomp$inline_1350.supportsFiber + !hook$jscomp$inline_1349.isDisabled && + hook$jscomp$inline_1349.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1350.inject( - internals$jscomp$inline_1349 + (rendererID = hook$jscomp$inline_1349.inject( + internals$jscomp$inline_1348 )), - (injectedHook = hook$jscomp$inline_1350); + (injectedHook = hook$jscomp$inline_1349); } catch (err) {} } exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { 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 19090d319d6a4..d0e1d5f15a51f 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<<7d829b6bea14b03ca3f0800f7f1380e0>> + * @generated SignedSource<> */ @@ -951,7 +951,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_256 = { +var injectedNamesToPlugins$jscomp$inline_255 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -997,32 +997,32 @@ var injectedNamesToPlugins$jscomp$inline_256 = { } } }, - isOrderingDirty$jscomp$inline_257 = !1, - pluginName$jscomp$inline_258; -for (pluginName$jscomp$inline_258 in injectedNamesToPlugins$jscomp$inline_256) + isOrderingDirty$jscomp$inline_256 = !1, + pluginName$jscomp$inline_257; +for (pluginName$jscomp$inline_257 in injectedNamesToPlugins$jscomp$inline_255) if ( - injectedNamesToPlugins$jscomp$inline_256.hasOwnProperty( - pluginName$jscomp$inline_258 + injectedNamesToPlugins$jscomp$inline_255.hasOwnProperty( + pluginName$jscomp$inline_257 ) ) { - var pluginModule$jscomp$inline_259 = - injectedNamesToPlugins$jscomp$inline_256[pluginName$jscomp$inline_258]; + var pluginModule$jscomp$inline_258 = + injectedNamesToPlugins$jscomp$inline_255[pluginName$jscomp$inline_257]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_258) || - namesToPlugins[pluginName$jscomp$inline_258] !== - pluginModule$jscomp$inline_259 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_257) || + namesToPlugins[pluginName$jscomp$inline_257] !== + pluginModule$jscomp$inline_258 ) { - if (namesToPlugins[pluginName$jscomp$inline_258]) + if (namesToPlugins[pluginName$jscomp$inline_257]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_258 + "`.") + (pluginName$jscomp$inline_257 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_258] = - pluginModule$jscomp$inline_259; - isOrderingDirty$jscomp$inline_257 = !0; + namesToPlugins[pluginName$jscomp$inline_257] = + pluginModule$jscomp$inline_258; + isOrderingDirty$jscomp$inline_256 = !0; } } -isOrderingDirty$jscomp$inline_257 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_256 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -10386,10 +10386,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1171 = { + devToolsConfig$jscomp$inline_1170 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-8bb18aca", + version: "18.3.0-canary-e47c466d", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10419,10 +10419,10 @@ var roots = new Map(), } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1171.bundleType, - version: devToolsConfig$jscomp$inline_1171.version, - rendererPackageName: devToolsConfig$jscomp$inline_1171.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1171.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1170.bundleType, + version: devToolsConfig$jscomp$inline_1170.version, + rendererPackageName: devToolsConfig$jscomp$inline_1170.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1170.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10438,14 +10438,14 @@ var roots = new Map(), return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1171.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1170.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-8bb18aca" + reconcilerVersion: "18.3.0-canary-e47c466d" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {