Deploy 0.266.0 to xplat (#50373)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50373

Changelog: [Internal]

Reviewed By: jbrown215, SamChou19815, panagosg7

Differential Revision: D72061660

fbshipit-source-id: a6862fe0e1f62992b76145006b3f8bc3ad788258
This commit is contained in:
Alex Taylor (alta)
2025-03-28 13:07:06 -07:00
committed by Facebook GitHub Bot
parent e861949ccd
commit 798c3dd842
5 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -98,4 +98,4 @@ untyped-import
untyped-type-import
[version]
^0.265.3
^0.266.0
+1 -1
View File
@@ -80,7 +80,7 @@
"eslint-plugin-redundant-undefined": "^0.4.0",
"eslint-plugin-relay": "^1.8.3",
"flow-api-translator": "0.25.1",
"flow-bin": "^0.265.3",
"flow-bin": "^0.266.0",
"glob": "^7.1.1",
"hermes-eslint": "0.25.1",
"hermes-transform": "0.25.1",
@@ -59,17 +59,21 @@ export function renderElement({
}
export function findHostInstance_DEPRECATED<TElementType: ElementType>(
// $FlowFixMe[incompatible-call]
componentOrHandle: ?(ElementRef<TElementType> | number),
): ?HostInstance {
return require('../Renderer/shims/ReactNative').default.findHostInstance_DEPRECATED(
// $FlowFixMe[incompatible-call]
componentOrHandle,
);
}
export function findNodeHandle<TElementType: ElementType>(
// $FlowFixMe[incompatible-call]
componentOrHandle: ?(ElementRef<TElementType> | number),
): ?number {
return require('../Renderer/shims/ReactNative').default.findNodeHandle(
// $FlowFixMe[incompatible-call]
componentOrHandle,
);
}
@@ -137,6 +137,7 @@ export default function createAnimatedPropsHook(
(instance: TInstance) => {
// NOTE: This may be called more often than necessary (e.g. when `props`
// changes), but `setNativeView` already optimizes for that.
// $FlowFixMe[incompatible-call]
node.setNativeView(instance);
// NOTE: When using the JS animation driver, this callback is called on
+4 -4
View File
@@ -4357,10 +4357,10 @@ flow-api-translator@0.25.1:
hermes-transform "0.25.1"
typescript "5.3.2"
flow-bin@^0.265.3:
version "0.265.3"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.265.3.tgz#cbaad2115f4622e34920981dc79949824c27f421"
integrity sha512-08PjO2kjuQxy8MxYJNCzmgRpAe1uqTf7kQ+U32QTavRzTD/7IJASYKFEEvCkVNHlhSy8CTJsN+AQdHsXVqChIw==
flow-bin@^0.266.0:
version "0.266.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.266.0.tgz#0829ea93ff9670f014695c7c272a1c36fc93d634"
integrity sha512-2icyk/Z4Q0UtcEg9vRuPafUBNup3qlz01nZFw1SuixoTh3SUTrzsrVBaMJLlq/NQMZCKaf+uQczbwvuKQ/jyzQ==
flow-enums-runtime@^0.0.6:
version "0.0.6"