Tim Yung and Facebook GitHub Bot
84de8a075e
RN: Delete @oncall Annotations ( #51416 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51416
Deletes `oncall` annotations from the `facebook/react-native` repository.
Changelog:
[Internal]
Reviewed By: javache
Differential Revision: D74902524
fbshipit-source-id: 32a6a5b2ff27281792d572f151e2b094d9a79029
2025-05-17 16:18:05 -07:00
Jakub Grzywacz and Facebook GitHub Bot
4d7c4bd6e8
Fix ImageSource require ( #50963 )
...
Summary:
In react-native-svg, I found that the `Image` component stopped working starting with `react-native@0.79 `. After some debugging, I traced the issue to the migration of `Libraries/Image` to the new export syntax (see https://github.com/facebook/react-native/commit/8783196ee540f8f78ce60ad20800338cc7645194 ). To fix this, I updated the import to match other requires, similar to https://github.com/facebook/react-native/blob/main/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js#L84 .
## Changelog:
[GENERAL] [FIXED] - Fix codegen ImageSource require
Pull Request resolved: https://github.com/facebook/react-native/pull/50963
Test Plan:
`validAttributes` process should be a function instead of object with a default property.
Before:
<img width="1041" alt="image" src="https://github.com/user-attachments/assets/9fbc9e9f-6c45-4b0b-adb8-2eb911676fe1 " />
After:
<img width="1005" alt="image" src="https://github.com/user-attachments/assets/ee594103-90da-4917-8252-72f4ecfc28e1 " />
Reviewed By: Abbondanzo
Differential Revision: D73778127
Pulled By: huntie
fbshipit-source-id: ae80c770e8e578794ae1356751f170ff955e1f5a
2025-04-28 10:30:21 -07:00
Jakub Piasecki and Facebook GitHub Bot
5349b7c7b5
Update codegen to support namespaced types ( #49950 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49950
Changelog: [GENERAL][CHANGED] - Changed `react-native-codegen` to support types under `CodegenTypes` namespace
## Summary
Currently, codegen relies on deep importing types under `react-native/Libraries/Types/CodegenTypes` to be properly type-checked. Updating codegen to support types under a single namespace will enable us to provide a single import from the package with access to all relevant types.
Reviewed By: huntie
Differential Revision: D70967809
fbshipit-source-id: 41241dcc51965f4243acd34e8b63475cb56ca67a
2025-03-17 07:26:17 -07:00