From 38cd75a4064debf2da7186d3e328928f83bbe63b Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 13 Sep 2022 19:24:25 +0100 Subject: [PATCH] Remove unnecessary box from Legacy Native Modules/Components (#3313) --- docs/native-modules-android.md | 2 -- docs/native-modules-ios.md | 2 -- website/versioned_docs/version-0.70/native-modules-android.md | 2 -- website/versioned_docs/version-0.70/native-modules-ios.md | 2 -- 4 files changed, 8 deletions(-) diff --git a/docs/native-modules-android.md b/docs/native-modules-android.md index df5066d7e2c..3596e0038f9 100644 --- a/docs/native-modules-android.md +++ b/docs/native-modules-android.md @@ -14,8 +14,6 @@ Welcome to Native Modules for Android. Please start by reading the [Native Modul In the following guide you will create a native module, `CalendarModule`, that will allow you to access Android’s calendar APIs from JavaScript. By the end, you will be able to call `CalendarModule.createCalendarEvent('Dinner Party', 'My House');` from JavaScript, invoking a Java/Kotlin method that creates a calendar event. -> The React Native team is currently working on a re-architecture of the Native Module system. This new system is called TurboModules, and it will help facilitate more efficient type-safe communication between JavaScript and native, without relying on the React Native bridge. It will also enable new extensions that weren't possible with the legacy Native Module system. You can read more about it [here](https://github.com/react-native-community/discussions-and-proposals/issues/40). Throughout these docs we have added notes around parts of Native Modules that will change in the TurboModules release and how you can best prepare for a smooth upgrade to TurboModules. - ### Setup To get started, open up the Android project within your React Native application in Android Studio. You can find your Android project here within a React Native app: diff --git a/docs/native-modules-ios.md b/docs/native-modules-ios.md index 433acc37cd0..ae590ad6cd2 100644 --- a/docs/native-modules-ios.md +++ b/docs/native-modules-ios.md @@ -13,8 +13,6 @@ Welcome to Native Modules for iOS. Please start by reading the [Native Modules I In the following guide you will create a native module, `CalendarModule`, that will allow you to access Apple's calendar APIs from JavaScript. By the end you will be able to call `CalendarModule.createCalendarEvent('Dinner Party', 'My House');` from JavaScript, invoking a native method that creates a calendar event. -> The React Native team is currently working on a re-architecture of the Native Module system. This new system is called TurboModules, and it will help facilitate more efficient type-safe communication between JavaScript and native, without relying on the React Native bridge. It will also enable new extensions that weren't possible with the legacy Native Module system. You can read more about it [here](https://github.com/react-native-community/discussions-and-proposals/issues/40). Throughout these docs we have added notes around parts of Native Modules that will change in the TurboModules release and how you can best prepare for a smooth upgrade to TurboModules. - ### Setup To get started, open up the iOS project within your React Native application in Xcode. You can find your iOS project here within a React Native app: diff --git a/website/versioned_docs/version-0.70/native-modules-android.md b/website/versioned_docs/version-0.70/native-modules-android.md index df5066d7e2c..3596e0038f9 100644 --- a/website/versioned_docs/version-0.70/native-modules-android.md +++ b/website/versioned_docs/version-0.70/native-modules-android.md @@ -14,8 +14,6 @@ Welcome to Native Modules for Android. Please start by reading the [Native Modul In the following guide you will create a native module, `CalendarModule`, that will allow you to access Android’s calendar APIs from JavaScript. By the end, you will be able to call `CalendarModule.createCalendarEvent('Dinner Party', 'My House');` from JavaScript, invoking a Java/Kotlin method that creates a calendar event. -> The React Native team is currently working on a re-architecture of the Native Module system. This new system is called TurboModules, and it will help facilitate more efficient type-safe communication between JavaScript and native, without relying on the React Native bridge. It will also enable new extensions that weren't possible with the legacy Native Module system. You can read more about it [here](https://github.com/react-native-community/discussions-and-proposals/issues/40). Throughout these docs we have added notes around parts of Native Modules that will change in the TurboModules release and how you can best prepare for a smooth upgrade to TurboModules. - ### Setup To get started, open up the Android project within your React Native application in Android Studio. You can find your Android project here within a React Native app: diff --git a/website/versioned_docs/version-0.70/native-modules-ios.md b/website/versioned_docs/version-0.70/native-modules-ios.md index 433acc37cd0..ae590ad6cd2 100644 --- a/website/versioned_docs/version-0.70/native-modules-ios.md +++ b/website/versioned_docs/version-0.70/native-modules-ios.md @@ -13,8 +13,6 @@ Welcome to Native Modules for iOS. Please start by reading the [Native Modules I In the following guide you will create a native module, `CalendarModule`, that will allow you to access Apple's calendar APIs from JavaScript. By the end you will be able to call `CalendarModule.createCalendarEvent('Dinner Party', 'My House');` from JavaScript, invoking a native method that creates a calendar event. -> The React Native team is currently working on a re-architecture of the Native Module system. This new system is called TurboModules, and it will help facilitate more efficient type-safe communication between JavaScript and native, without relying on the React Native bridge. It will also enable new extensions that weren't possible with the legacy Native Module system. You can read more about it [here](https://github.com/react-native-community/discussions-and-proposals/issues/40). Throughout these docs we have added notes around parts of Native Modules that will change in the TurboModules release and how you can best prepare for a smooth upgrade to TurboModules. - ### Setup To get started, open up the iOS project within your React Native application in Xcode. You can find your iOS project here within a React Native app: