Commit 37b7f10
Migrate NativeSampleTurboModule to codegen integration - RFC (#56723)
Summary:
Replace hand-written spec files for `NativeSampleTurboModule` with proper codegen integration by removing exclusion rules and configuring the module in `package.json`. This eliminates ~1600 lines of manual boilerplate (Java, C++, Objective-C) across Android, iOS, and macOS platforms, allowing the codegen system to generate these files automatically from the JavaScript spec.
Changelog: [Internal]
Differential Revision: D1043235431 parent a3e87c6 commit 37b7f10
16 files changed
Lines changed: 284 additions & 1055 deletions
File tree
- packages
- gradle-plugin/react-native-gradle-plugin/src
- main/kotlin/com/facebook/react/tasks
- test/kotlin/com/facebook/react/tasks
- react-native
- ReactCommon/react/nativemodule/samples/platform
- android
- ReactCommon
- ios/ReactCommon
- scripts
- codegen/generate-artifacts-executor
- react_native_pods_utils
- rn-tester/android/app/src/main/jni
- scripts/cxx-api/api-snapshots
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| |||
131 | 129 | | |
132 | 130 | | |
133 | 131 | | |
134 | | - | |
135 | | - | |
136 | 132 | | |
137 | 133 | | |
138 | 134 | | |
| |||
Lines changed: 0 additions & 168 deletions
This file was deleted.
0 commit comments