Target Branch
0.80
Link to commit or PR to be picked
facebook/react-native#51381
Description
D70822061 introduced a new way of defininf modules and components in codegen, but accidentally introduced two breaking changes to the legacy syntax:
- before that diff, in case of 1:1 mapping, the value of the fileds could be a string, while after, it required it to be an array
- before that diff, not all of the fields on modulesConformingToProtocol had to be defined in package.json, while after, it required all fields to be defined even if unused
Target Branch
0.80
Link to commit or PR to be picked
facebook/react-native#51381
Description
D70822061 introduced a new way of defininf modules and components in codegen, but accidentally introduced two breaking changes to the legacy syntax: