Skip to content

Commit f7cb13b

Browse files
authored
Merge pull request #227 from reactwg/vonovak-patch-2
2 parents 5794fdd + 928dcfc commit f7cb13b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/appendix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ node node_modules/react-native/scripts/generate-specs-cli.js \
257257
```
258258

259259
> [!Note]
260-
> The output artifacts of the Codegen are inside the build folder and should not be committed.
261-
> They should be considered only for reference.
260+
> By default, the output artifacts of the Codegen are written to the build folder and should not be committed. They should be considered only for reference.
261+
> It is also possible to include the codegen output into your library. [Read more](./codegen.md#including-generated-code-into-libraries).
262262
263263
##### Example
264264

docs/turbo-modules.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,8 @@ When developing a React Native app that uses a Turbo Native Module, it is the re
374374
As the first step for both iOS and Android, this guide shows how to execute manually the scripts used by **Codegen** to generate the required code. Further information on **Codegen** can be found [here](./codegen.md).
375375
376376
> [!Warning]
377-
> The code generated by **Codegen** in this step should not be committed to the versioning system. React Native apps are able to generate the code when the app is built. This allows an app to ensure that all libraries have code generated for the correct version of React Native.
377+
> The code generated by **Codegen** in this step should not be committed to the versioning system. React Native apps are able to generate the code when the app is built. This allows an app to ensure that all libraries have code generated for the correct version of React Native. It is also possible to [include the codegen output into your library](./codegen.md#including-generated-code-into-libraries).
378+
378379
379380
### iOS
380381

0 commit comments

Comments
 (0)