Skip to content

Commit 07a7abd

Browse files
committed
Clarify codegen implications when including generate artifacts
1 parent 76d8426 commit 07a7abd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: docs/backwards-compat-fabric-component.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ After wrapping the above components with a `#ifdef` pragma, you need to implemen
206206

207207
> [!Note]
208208
>
209-
> If you configure your library to [include codegen artifacts](https://github.com/reactwg/react-native-new-architecture/blob/main/docs/codegen.md#including-generated-code-into-libraries), you'll get Android backwards compatibility FOR FREE. This is currently the recommended approach.
209+
> You can configure your library to [include codegen artifacts](https://reactnative.dev/docs/the-new-architecture/codegen-cli#including-generated-code-into-libraries). Doing this will make it easier to offer backward compatibility with old arch, but has [implications on libraries](https://reactnative.dev/docs/the-new-architecture/codegen-cli#including-generated-code-into-libraries) that you need to be aware.
210210
>
211211
> The following instructions are only for libraries that chose to rely on the app-level codegen.
212212

Diff for: docs/backwards-compat-turbo-modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ This changes do three main things:
214214

215215
> [!Note]
216216
>
217-
> If you configure your library to [include codegen artifacts](https://github.com/reactwg/react-native-new-architecture/blob/main/docs/codegen.md#including-generated-code-into-libraries), you'll get Android backwards compatibility FOR FREE. This is currently the recommended approach.
217+
> You can configure your library to [include codegen artifacts](https://reactnative.dev/docs/the-new-architecture/codegen-cli#including-generated-code-into-libraries). Doing this will make it easier to offer backward compatibility with old arch, but has [implications on libraries](https://reactnative.dev/docs/the-new-architecture/codegen-cli#including-generated-code-into-libraries) that you need to be aware.
218218
>
219219
> The following instructions are only for libraries that chose to rely on the app-level codegen.
220220

0 commit comments

Comments
 (0)