mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Pre-suppress errors ahead of turn on partial react 19 ref-as-prop support
Summary: `react.ref_as_prop=experimental.partial_support` will expose errors where a ref prop is passed to a function component without ref prop. This diff pre-suppresses the newly exposed errors. Changelog: [Internal] Reviewed By: gkz Differential Revision: D65686695 fbshipit-source-id: f241cc40f3ac414a2960dec60d9ba4633e5f93c0
This commit is contained in:
parent
84bfeec9b8
commit
cd9ece0553
@ -1314,6 +1314,7 @@ function SetAccessibilityFocusExample(props: {}): React.Node {
|
||||
|
||||
return (
|
||||
<View>
|
||||
{/* $FlowFixMe[prop-missing] */}
|
||||
<RNTesterText ref={myRef}>
|
||||
SetAccessibilityFocus on native element. This should get focus after
|
||||
clicking the button!
|
||||
|
Loading…
Reference in New Issue
Block a user