From f0775f378f72978f2402005ff916a661a358c4bb Mon Sep 17 00:00:00 2001 From: kassens Date: Mon, 18 Mar 2024 15:58:15 +0000 Subject: [PATCH] Performance: avoid triggering map deopt in V8 (#28569) The shape of the objects changed by this PR are both created in 2 locations with 2 different shapes, which most JS engines won't like. I've noticed this in particular in V8 while benchmarking production code. https://github.com/facebook/react/blob/1293047d6063f3508af15e68cca916660ded791e/packages/react-reconciler/src/ReactFiberCacheComponent.js#L66-L77 https://github.com/facebook/react/blob/1293047d6063f3508af15e68cca916660ded791e/packages/react-reconciler/src/ReactFiberHostContext.js#L47-L54 https://github.com/facebook/react/blob/1293047d6063f3508af15e68cca916660ded791e/packages/react-reconciler/src/ReactFiberHooks.js#L3530-L3531 https://github.com/facebook/react/blob/1293047d6063f3508af15e68cca916660ded791e/packages/react-reconciler/src/ReactFiberHooks.js#L3492-L3493 DiffTrain build for commit https://github.com/facebook/react/commit/4d686a2da138cad9e76c7de9feadd81ca2aa29e5. --- .../cjs/ReactTestRenderer-dev.js | 12 ++++++------ .../cjs/ReactTestRenderer-prod.js | 14 +++++++------- .../cjs/ReactTestRenderer-profiling.js | 14 +++++++------- .../js/RKJSModules/vendor/react/cjs/React-dev.js | 2 +- .../js/RKJSModules/vendor/react/cjs/React-prod.js | 2 +- .../vendor/react/cjs/React-profiling.js | 2 +- .../Libraries/Renderer/REVISION | 2 +- .../Renderer/implementations/ReactFabric-dev.fb.js | 12 ++++++------ .../implementations/ReactFabric-prod.fb.js | 14 +++++++------- .../implementations/ReactFabric-profiling.fb.js | 14 +++++++------- .../implementations/ReactNativeRenderer-dev.fb.js | 12 ++++++------ .../implementations/ReactNativeRenderer-prod.fb.js | 14 +++++++------- .../ReactNativeRenderer-profiling.fb.js | 14 +++++++------- 13 files changed, 64 insertions(+), 64 deletions(-) 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 3dc145b5a5864..78673c71ed460 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<<65b88d386b80bb668ee1220244f5891b>> */ "use strict"; @@ -2570,11 +2570,11 @@ if (__DEV__) { var HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function requiredContext(c) { @@ -9616,8 +9616,8 @@ if (__DEV__) { useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -25454,7 +25454,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-canary-45d56071b-20240318"; + var ReactVersion = "18.3.0-canary-4d686a2da-20240318"; // 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 a8675e98c3696..2808e654cdc36 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<> + * @generated SignedSource<> */ "use strict"; @@ -663,11 +663,11 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, hostTransitionProviderCursor = createCursor(null), HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -3109,8 +3109,8 @@ var ContextOnlyDispatcher = { useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -9175,7 +9175,7 @@ var devToolsConfig$jscomp$inline_1016 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-45d56071b-20240318", + version: "18.3.0-canary-4d686a2da-20240318", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1194 = { @@ -9206,7 +9206,7 @@ var internals$jscomp$inline_1194 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-45d56071b-20240318" + reconcilerVersion: "18.3.0-canary-4d686a2da-20240318" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1195 = __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 c0c32cbff4e29..4882b28891fce 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<6adce1bb96c74af6db54e6a23f64cd73>> */ "use strict"; @@ -681,11 +681,11 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, hostTransitionProviderCursor = createCursor(null), HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -3129,8 +3129,8 @@ var ContextOnlyDispatcher = { useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -9603,7 +9603,7 @@ var devToolsConfig$jscomp$inline_1058 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-45d56071b-20240318", + version: "18.3.0-canary-4d686a2da-20240318", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1235 = { @@ -9634,7 +9634,7 @@ var internals$jscomp$inline_1235 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-45d56071b-20240318" + reconcilerVersion: "18.3.0-canary-4d686a2da-20240318" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1236 = __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 cd3cd5a54a2fe..91006380753c7 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 @@ -26,7 +26,7 @@ if (__DEV__) { } var dynamicFlags = require("ReactNativeInternalFeatureFlags"); - var ReactVersion = "18.3.0-canary-45d56071b-20240318"; + var ReactVersion = "18.3.0-canary-4d686a2da-20240318"; // 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 aa774c6205de8..dd7b2a3684ab6 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 @@ -628,4 +628,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-45d56071b-20240318"; +exports.version = "18.3.0-canary-4d686a2da-20240318"; 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 9d848d501ce12..bcb49743c2bf3 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 @@ -624,7 +624,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-45d56071b-20240318"; +exports.version = "18.3.0-canary-4d686a2da-20240318"; "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 29c7404197039..c17fe39d88a34 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 @@ -45d56071b8ce1dbccf1765acf3867263fe3e595b +4d686a2da138cad9e76c7de9feadd81ca2aa29e5 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 360f2ea8661d0..e03f1641119b5 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<<48c206274b16ddb872dd142a6fc17769>> + * @generated SignedSource<> */ "use strict"; @@ -6050,11 +6050,11 @@ to return true:wantsResponderID| | var HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function requiredContext(c) { @@ -13570,8 +13570,8 @@ to return true:wantsResponderID| | useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -29801,7 +29801,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-01f0d8b1"; + var ReactVersion = "18.3.0-canary-dcb437de"; 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 5c9e4f7b26671..de3d926eac330 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"; @@ -2001,11 +2001,11 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, hostTransitionProviderCursor = createCursor(null), HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -4724,8 +4724,8 @@ var ContextOnlyDispatcher = { useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -10626,7 +10626,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1103 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-8f98d002", + version: "18.3.0-canary-45ebe421", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10669,7 +10669,7 @@ var internals$jscomp$inline_1330 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-8f98d002" + reconcilerVersion: "18.3.0-canary-45ebe421" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1331 = __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 9aaea99c86e99..7a205bc107a87 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<<6c9f7fe03ad0703b972eef9473b57c69>> + * @generated SignedSource<<26c28bc563c475bc48b8350e745dfaa4>> */ "use strict"; @@ -2123,11 +2123,11 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, hostTransitionProviderCursor = createCursor(null), HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -4851,8 +4851,8 @@ var ContextOnlyDispatcher = { useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -11332,7 +11332,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1184 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-e8e1a13c", + version: "18.3.0-canary-154313d4", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11388,7 +11388,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-e8e1a13c" + reconcilerVersion: "18.3.0-canary-154313d4" }); 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 21942c1c45b55..52c94dc14f23e 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<<51a07e08c2e142d6d820d76841b5f546>> + * @generated SignedSource<<961c930d323670120a1ce352e0cf2d5c>> */ "use strict"; @@ -6345,11 +6345,11 @@ to return true:wantsResponderID| | var HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function requiredContext(c) { @@ -13841,8 +13841,8 @@ to return true:wantsResponderID| | useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -30241,7 +30241,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-1330e5ea"; + var ReactVersion = "18.3.0-canary-2c537ce9"; 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 51d206435db85..fc39cf379c191 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<<1220d516fcec3101959c6d1fd5cbc8c0>> */ "use strict"; @@ -2075,11 +2075,11 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, hostTransitionProviderCursor = createCursor(null), HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -4790,8 +4790,8 @@ var ContextOnlyDispatcher = { useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -10843,7 +10843,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1172 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-b9c95560", + version: "18.3.0-canary-ca090109", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10886,7 +10886,7 @@ var internals$jscomp$inline_1413 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-b9c95560" + reconcilerVersion: "18.3.0-canary-ca090109" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1414 = __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 7643e82a74626..2cd602170e1ea 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<<4c2fc2a3edb92cc2791566659afae3c1>> + * @generated SignedSource<<0ba22ea61c0329ae1b586a36af00af49>> */ "use strict"; @@ -2197,11 +2197,11 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, hostTransitionProviderCursor = createCursor(null), HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, + Provider: null, + Consumer: null, _currentValue: null, _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null + _threadCount: 0 }; function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); @@ -4917,8 +4917,8 @@ var ContextOnlyDispatcher = { useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, + useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, @@ -11550,7 +11550,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1253 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-591d8411", + version: "18.3.0-canary-e8ed23e9", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11606,7 +11606,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-591d8411" + reconcilerVersion: "18.3.0-canary-e8ed23e9" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {