Skip to content

Commit ab9f00d

Browse files
authored
Turn on experimental.jsx_intrinsic_elements in xplat/js
Summary: Changelog: [Internal] Differential Revision: D130944036 Pull Request resolved: #59914
1 parent 1e9dc77 commit ab9f00d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/react-native/Libraries/Lists/__tests__/FlatList-itest.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ function testPropPropagatedToMountingLayer<TValue>({
4242
expect(root.getRenderedOutput({props: [propName]}).toJSX()).toEqual(
4343
<rn-scrollView
4444
{...{
45+
// $FlowFixMe[incompatible-type] jsx_intrinsic_elements rollout
4546
[propName]: JSON.stringify(value),
4647
}}>
4748
{renderChildrenForValue != null ? (

‎private/react-native-fantom/src/getFantomRenderedOutput.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ function createJSXElementForTestComparison(
166166
key?: ?string,
167167
): React.Node {
168168
const Tag = type;
169+
// $FlowFixMe[prop-missing] jsx_intrinsic_elements rollout
169170
return <Tag key={key} {...props} />;
170171
}
171172

0 commit comments

Comments
 (0)