David Vacca
3903ce0a48
Update format for codegen prop diffing ( #51644 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51644
This diff updates the format for codegen prop diffing in Android
changelog: [internal] internal
Reviewed By: shwanton
Differential Revision: D75476172
fbshipit-source-id: ec1c68ae1eb652fe9986386302969f9258983d39
2025-05-27 17:55:11 -07:00
David Vacca
da5d15ba0e
Add support to diff ImageSource props ( #51643 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51643
Add support to diff ImageSource props
/react-native/ReactCommon/react/renderer/imagemanager/primitives.h
changelog: [internal] internal
Reviewed By: javache
Differential Revision: D69497848
fbshipit-source-id: 56afe1d8601f7f4dc5dab815b6e534d7c63f651b
2025-05-27 17:55:11 -07:00
David Vacca
ad0ea17ae9
Add support to diff Point props ( #51650 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51650
This diff adds support to diff props with Point type
changelog: [internal] internal
Reviewed By: mlord93
Differential Revision: D75469451
fbshipit-source-id: a6844b691d8e32326d04c2bd51e6509980feb611
2025-05-27 17:55:11 -07:00
David Vacca
20da141f5f
Add support for diffing ColorPrimitive props ( #51641 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51641
Add support for diffing ColorPrimitive props
changelog: [internal] internal
Reviewed By: rshest
Differential Revision: D69493546
fbshipit-source-id: 7ad6a28bd42014a771c168d8d6a6d2349629f670
2025-05-27 17:55:11 -07:00
David Vacca
26d40e40e1
Add support for diffing primitve type props ( #51649 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51649
Add support for diffing primitve type props
changelog: [internal] internal
Reviewed By: NickGerleman
Differential Revision: D69491368
fbshipit-source-id: 2b882b349e9d1bd3a9012bae3c3e0a06be2fa0e3
2025-05-27 17:55:11 -07:00
David Vacca
2df200db3f
Extend getDiffProps method to support no changes of props ( #51646 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51646
Extend getDiffProps method to support no changes of props
changelog: [internal] internal
Reviewed By: lenaic
Differential Revision: D69487497
fbshipit-source-id: 2cb91f1cc6cba84100750ce5dda5824824c923fe
2025-05-27 17:55:11 -07:00
David Vacca
3609d070eb
Extend getDiffProps method to call HostPlatformViewProps ( #51638 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51638
Extend getDiffProps method to call HostPlatformViewProps
changelog: [internal] internal
Reviewed By: lenaic
Differential Revision: D69487495
fbshipit-source-id: 4d2b508f116ec0618b42981c0880361c3d8a871a
2025-05-27 17:55:11 -07:00
David Vacca
1a43fd7927
Prototype to create getDiff method using codegen ( #51637 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51637
Start prototype to create getDiff method using js codegen
changelog: [internal] internal
Reviewed By: rshest
Differential Revision: D69487496
fbshipit-source-id: 1547a7302381333bf9b005153b44de5621bc56c4
2025-05-27 17:55:11 -07:00
Tim Yung
1977dd6596
RN: Sort Pragmas in Headers ( #51554 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51554
Sorts pragma directives file headers in React Native.
Changelog:
[Internal]
Reviewed By: SamChou19815
Differential Revision: D75264593
fbshipit-source-id: 9e4b253dd0fc94dc2fc469d7114b93a8aae305f4
2025-05-22 21:18:53 -07:00
Tim Yung
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
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
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