Skip to content

Commit 6dce89d

Browse files
authored
backport native modules note addition to versioned docs (facebook#4960)
1 parent 5892945 commit 6dce89d

6 files changed

Lines changed: 24 additions & 0 deletions

File tree

website/versioned_docs/version-0.78/turbo-native-modules.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ To create a specs file:
4545
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/appendix.md) documentation.
4646
:::
4747

48+
:::info
49+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
50+
:::
51+
4852
Here is an implementation of the `localStorage` specification:
4953

5054
<Tabs groupId="language" queryString defaultValue={constants.defaultJavaScriptSpecLanguage} values={constants.javaScriptSpecLanguages}>

website/versioned_docs/version-0.79/turbo-native-modules.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ To create a specs file:
4545
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/appendix.md) documentation.
4646
:::
4747

48+
:::info
49+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
50+
:::
51+
4852
Here is an implementation of the `localStorage` specification:
4953

5054
<Tabs groupId="language" queryString defaultValue={constants.defaultJavaScriptSpecLanguage} values={constants.javaScriptSpecLanguages}>

website/versioned_docs/version-0.80/turbo-native-modules.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ To create a specs file:
4545
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/appendix.md) documentation.
4646
:::
4747

48+
:::info
49+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
50+
:::
51+
4852
Here is an implementation of the `localStorage` specification:
4953

5054
<Tabs groupId="language" queryString defaultValue={constants.defaultJavaScriptSpecLanguage} values={constants.javaScriptSpecLanguages}>

website/versioned_docs/version-0.81/turbo-native-modules.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ To create a specs file:
4949
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/appendix.md) documentation.
5050
:::
5151

52+
:::info
53+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
54+
:::
55+
5256
Here is an implementation of the `localStorage` specification:
5357

5458
<Tabs groupId="language" queryString defaultValue={constants.defaultJavaScriptSpecLanguage} values={constants.javaScriptSpecLanguages}>

website/versioned_docs/version-0.82/turbo-native-modules.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ To create a specs file:
4949
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/docs/appendix) documentation.
5050
:::
5151

52+
:::info
53+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
54+
:::
55+
5256
Here is an implementation of the `localStorage` specification:
5357

5458
<Tabs groupId="language" queryString defaultValue={constants.defaultJavaScriptSpecLanguage} values={constants.javaScriptSpecLanguages}>

website/versioned_docs/version-0.83/turbo-native-modules.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ To create a specs file:
4949
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/docs/appendix) documentation.
5050
:::
5151

52+
:::info
53+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
54+
:::
55+
5256
Here is an implementation of the `localStorage` specification:
5357

5458
<Tabs groupId="language" queryString defaultValue={constants.defaultJavaScriptSpecLanguage} values={constants.javaScriptSpecLanguages}>

0 commit comments

Comments
 (0)