diff --git a/docs/accessibilityinfo.md b/docs/accessibilityinfo.md index 4cebdadb1b3..1c3ed89bc88 100644 --- a/docs/accessibilityinfo.md +++ b/docs/accessibilityinfo.md @@ -256,7 +256,7 @@ Query whether reduce motion and prefer cross-fade transitions settings are curre ### πŸ—‘οΈ `setAccessibilityFocus()` -:::warning Deprecated +:::warning[Deprecated] Prefer using `sendAccessibilityEvent` with eventType `focus` instead. ::: diff --git a/docs/backhandler.md b/docs/backhandler.md index 1d096c71a13..9e1f2f7a94e 100644 --- a/docs/backhandler.md +++ b/docs/backhandler.md @@ -10,7 +10,7 @@ The event subscriptions are called in reverse order (i.e. the last registered su - **If one subscription returns true,** then subscriptions registered earlier will not be called. - **If no subscription returns true or none are registered,** it programmatically invokes the default back button functionality to exit the app. -:::warning Warning for modal users +:::warning[Warning for modal users] If your app shows an opened `Modal`, `BackHandler` will not publish any events ([see `Modal` docs](modal#onrequestclose)). ::: diff --git a/docs/building-for-tv.md b/docs/building-for-tv.md index b39f843a481..52430c91f74 100644 --- a/docs/building-for-tv.md +++ b/docs/building-for-tv.md @@ -6,6 +6,6 @@ hide_table_of_contents: true TV devices support has been implemented with the intention of making existing React Native applications work on Apple TV and Android TV, with few or no changes needed in the JavaScript code for the applications. -:::warning Deprecated +:::warning[Deprecated] TV support has moved to the [React Native for TV](https://github.com/react-native-tvos/react-native-tvos#readme) repository. Please see the **README** there for information on projects for Apple TV or Android TV. ::: diff --git a/docs/global-PerformanceEventTiming.md b/docs/global-PerformanceEventTiming.md index e28106b390e..5e30f206cc2 100644 --- a/docs/global-PerformanceEventTiming.md +++ b/docs/global-PerformanceEventTiming.md @@ -5,6 +5,6 @@ title: PerformanceEventTiming The global [`PerformanceEventTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEventTiming) class, as defined in Web specifications. -:::warning Partial support +:::warning[Partial support] The `cancelable` and `target` properties are not supported yet. ::: diff --git a/docs/global-PerformanceLongTaskTiming.md b/docs/global-PerformanceLongTaskTiming.md index c951fcc18f4..9e202636e70 100644 --- a/docs/global-PerformanceLongTaskTiming.md +++ b/docs/global-PerformanceLongTaskTiming.md @@ -5,6 +5,6 @@ title: PerformanceLongTaskTiming The global [`PerformanceLongTaskTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongTaskTiming) class, as defined in Web specifications. -:::warning Partial support +:::warning[Partial support] The value for the `attribution` property is always an empty array. ::: diff --git a/docs/global-PerformanceResourceTiming.md b/docs/global-PerformanceResourceTiming.md index 60da4656aeb..6575d928cfe 100644 --- a/docs/global-PerformanceResourceTiming.md +++ b/docs/global-PerformanceResourceTiming.md @@ -5,7 +5,7 @@ title: PerformanceResourceTiming The global [`PerformanceResourceTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming) class, as defined in Web specifications. -:::warning Partial support +:::warning[Partial support] React Native implements the following `PerformanceResourceTiming` properties only: diff --git a/docs/global-intersectionobserver.md b/docs/global-intersectionobserver.md index 24b8672dfd1..afa3dc70053 100644 --- a/docs/global-intersectionobserver.md +++ b/docs/global-intersectionobserver.md @@ -61,7 +61,7 @@ An offset rectangle applied to the root's bounding box when calculating intersec ### `rnRootThresholds` ⚠️ -:::warning Non-standard +:::warning[Non-standard] This is a React Native specific extension. ::: diff --git a/docs/global-intersectionobserverentry.md b/docs/global-intersectionobserverentry.md index 656be66b744..67729c711bb 100644 --- a/docs/global-intersectionobserverentry.md +++ b/docs/global-intersectionobserverentry.md @@ -43,7 +43,7 @@ A Boolean value which is `true` if the target element intersects with the inters ### `rnRootIntersectionRatio` ⚠️ -:::warning Non-standard +:::warning[Non-standard] This is a React Native specific extension. ::: diff --git a/docs/global-performance.md b/docs/global-performance.md index 488f55020ef..073576056e5 100644 --- a/docs/global-performance.md +++ b/docs/global-performance.md @@ -21,7 +21,7 @@ See [documentation in MDN](https://developer.mozilla.org/en-US/docs/Web/API/Perf ### `rnStartupTiming` ⚠️ -:::warning Non-standard +:::warning[Non-standard] This is a React Native specific extension. ::: @@ -41,7 +41,7 @@ The `ReactNativeStartupTiming` interface provides the following fields: ### `timeOrigin` -:::warning Partial support +:::warning[Partial support] Provides the number of milliseconds from the UNIX epoch until system boot, instead of the number of milliseconds from the UNIX epoch until app startup. ::: @@ -79,7 +79,7 @@ See [documentation in MDN](https://developer.mozilla.org/en-US/docs/Web/API/Perf ### `now()` -:::warning Partial support +:::warning[Partial support] Provides the number of milliseconds from system boot, instead of the number of milliseconds from app startup. ::: diff --git a/docs/integration-with-android-fragment.md b/docs/integration-with-android-fragment.md index e9c385b3eb1..99e69c2ba8f 100644 --- a/docs/integration-with-android-fragment.md +++ b/docs/integration-with-android-fragment.md @@ -33,7 +33,7 @@ This is required by React Native to handle the back button press event. Go into your host activity and make sure it implements the `DefaultHardwareBackBtnHandler` interface: -:::warning Deprecated +:::warning[Deprecated] `Activity.onBackPressed()` has been [deprecated]() since API level 33. Android 16 devices with apps targeting API level 36 this will [no longer be called](https://developer.android.com/about/versions/16/behavior-changes-16#predictive-back) and [OnBackPressedDispatcher](https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher) should be used instead. ::: diff --git a/docs/interactionmanager.md b/docs/interactionmanager.md index 75328f17894..c6fca526672 100644 --- a/docs/interactionmanager.md +++ b/docs/interactionmanager.md @@ -5,7 +5,7 @@ title: πŸ—‘οΈ InteractionManager import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; -:::warning Deprecated +:::warning[Deprecated] Avoid long-running work and use [`requestIdleCallback`](global-requestIdleCallback) instead. ::: diff --git a/docs/modal.md b/docs/modal.md index 4ad9af1381f..6e4859d54b9 100644 --- a/docs/modal.md +++ b/docs/modal.md @@ -106,7 +106,7 @@ Inherits [View Props](view.md#props). ### πŸ—‘οΈ `animated` -:::warning Deprecated +:::warning[Deprecated] Use the [`animationType`](modal.md#animationtype) prop instead. ::: diff --git a/docs/network.md b/docs/network.md index 005db77962b..1266f8cb0d3 100644 --- a/docs/network.md +++ b/docs/network.md @@ -217,7 +217,7 @@ request.open('GET', 'https://mywebsite.com/endpoint/'); request.send(); ``` -:::warning Caution +:::warning[Caution] The security model for XMLHttpRequest is different than on web as there is no concept of [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) in native apps. ::: diff --git a/docs/other-debugging-methods.md b/docs/other-debugging-methods.md index 28b13d1e087..5df989acefc 100644 --- a/docs/other-debugging-methods.md +++ b/docs/other-debugging-methods.md @@ -27,7 +27,7 @@ Every time the app is reloaded, a new JSContext is created. Choosing "Automatica ## Remote JavaScript Debugging (removed) -:::warning Important +:::warning[Important] Remote JavaScript Debugging has been removed as of React Native 0.79. See the original [deprecation announcement](https://github.com/react-native-community/discussions-and-proposals/discussions/734). If you are on an older version of React Native, please go to the docs [for your version](/versions). diff --git a/docs/progressbarandroid.md b/docs/progressbarandroid.md index f8810dc541a..a08adfae637 100644 --- a/docs/progressbarandroid.md +++ b/docs/progressbarandroid.md @@ -3,7 +3,7 @@ id: progressbarandroid title: 'πŸ—‘οΈ ProgressBarAndroid' --- -:::warning Deprecated +:::warning[Deprecated] Use one of the [community packages](https://reactnative.directory/?search=progressbar) instead. ::: diff --git a/docs/pushnotificationios.md b/docs/pushnotificationios.md index 0cdecf3180a..c42d3a28193 100644 --- a/docs/pushnotificationios.md +++ b/docs/pushnotificationios.md @@ -3,7 +3,7 @@ id: pushnotificationios title: 'πŸ—‘οΈ PushNotificationIOS' --- -:::warning Deprecated +:::warning[Deprecated] Use one of the [community packages](https://reactnative.directory/?search=notification) instead. ::: diff --git a/docs/safeareaview.md b/docs/safeareaview.md index b8373e905a2..1298898b64e 100644 --- a/docs/safeareaview.md +++ b/docs/safeareaview.md @@ -3,7 +3,7 @@ id: safeareaview title: 'πŸ—‘οΈ SafeAreaView' --- -:::warning Deprecated +:::warning[Deprecated] Use [react-native-safe-area-context](https://github.com/AppAndFlow/react-native-safe-area-context) instead. ::: diff --git a/docs/security.md b/docs/security.md index bf8ed1ff5d4..7a6c1bf150e 100644 --- a/docs/security.md +++ b/docs/security.md @@ -68,7 +68,7 @@ In order to use iOS Keychain services or Android Secure Shared Preferences, you - [expo-secure-store](https://docs.expo.dev/versions/latest/sdk/securestore/) - [react-native-keychain](https://github.com/oblador/react-native-keychain) -:::warning Caution +:::warning[Caution] **Be mindful of unintentionally storing or exposing sensitive info.** This could happen accidentally, for example saving sensitive form data in redux state and persisting the whole state tree in Async Storage. Or sending user tokens and personal info to an application monitoring service such as Sentry or Crashlytics. ::: @@ -127,7 +127,7 @@ Using https endpoints could still leave your data vulnerable to interception. Wi **SSL pinning** is a technique that can be used on the client side to avoid this attack. It works by embedding (or pinning) a list of trusted certificates to the client during development, so that only the requests signed with one of the trusted certificates will be accepted, and any self-signed certificates will not be. -:::warning Caution +:::warning[Caution] When using SSL pinning, you should be mindful of certificate expiry. Certificates expire every 1-2 years and when one does, it’ll need to be updated in the app as well as on the server. As soon as the certificate on the server has been updated, any apps with the old certificate embedded in them will cease to work. ::: diff --git a/docs/statusbar.md b/docs/statusbar.md index b1d5c210ed6..3d95049441d 100644 --- a/docs/statusbar.md +++ b/docs/statusbar.md @@ -440,7 +440,7 @@ Show or hide the status bar. ### πŸ—‘οΈ `setNetworkActivityIndicatorVisible()`
iOS
-:::warning Deprecated +:::warning[Deprecated] The status bar network activity indicator is not supported in iOS 13 and later. This will be removed in a future release. ::: diff --git a/docs/stylesheet.md b/docs/stylesheet.md index 1ac0eab9880..90c14b962a4 100644 --- a/docs/stylesheet.md +++ b/docs/stylesheet.md @@ -171,7 +171,7 @@ export default App; ### `setStyleAttributePreprocessor()` -:::warning Experimental +:::warning[Experimental] Breaking changes will probably happen a lot and will not be reliably announced. The whole thing might be deleted, who knows? Use at your own risk. ::: diff --git a/docs/textinput.md b/docs/textinput.md index 379f4e5da37..7ea60e3c802 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -238,7 +238,7 @@ If `true`, focuses the input. The default value is `false`. ### πŸ—‘οΈ `blurOnSubmit` -:::warning Deprecated +:::warning[Deprecated] Note that `submitBehavior` now takes the place of `blurOnSubmit` and will override any behavior defined by `blurOnSubmit`. See [submitBehavior](textinput#submitbehavior). ::: diff --git a/docs/timers.md b/docs/timers.md index 59d91b2af1c..6a377b178c3 100644 --- a/docs/timers.md +++ b/docs/timers.md @@ -25,7 +25,7 @@ Please correct this by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"`` on ## InteractionManager -:::warning Deprecated +:::warning[Deprecated] The `InteractionManager` behavior has been changed to be the same as `setImmediate`, which should be used instead. ::: diff --git a/docs/transforms.md b/docs/transforms.md index 13d17d82103..b5c1b65f756 100644 --- a/docs/transforms.md +++ b/docs/transforms.md @@ -267,7 +267,7 @@ Matrix transforms are useful when you need to apply pre-calculated transformatio ### πŸ—‘οΈ `decomposedMatrix`, `rotation`, `scaleX`, `scaleY`, `transformMatrix`, `translateX`, `translateY` -:::warning Deprecated +:::warning[Deprecated] Use the [`transform`](transforms#transform) prop instead. ::: diff --git a/docs/virtualizedlist.md b/docs/virtualizedlist.md index 7cb55d1b5d7..327e665db76 100644 --- a/docs/virtualizedlist.md +++ b/docs/virtualizedlist.md @@ -298,7 +298,7 @@ Styling for internal View for `ListHeaderComponent`. ### πŸ—‘οΈ `disableVirtualization` -:::warning Deprecated +:::warning[Deprecated] Virtualization provides significant performance and memory optimizations, but fully unmounts react instances that are outside of the render window. You should only need to disable this for debugging purposes. ::: diff --git a/website/versioned_docs/version-0.86/accessibilityinfo.md b/website/versioned_docs/version-0.86/accessibilityinfo.md index c88372497d5..c3b47920418 100644 --- a/website/versioned_docs/version-0.86/accessibilityinfo.md +++ b/website/versioned_docs/version-0.86/accessibilityinfo.md @@ -256,7 +256,7 @@ Query whether reduce motion and prefer cross-fade transitions settings are curre ### πŸ—‘οΈ `setAccessibilityFocus()` -:::warning Deprecated +:::warning[Deprecated] Prefer using `sendAccessibilityEvent` with eventType `focus` instead. ::: diff --git a/website/versioned_docs/version-0.86/backhandler.md b/website/versioned_docs/version-0.86/backhandler.md index d4c82008bef..c07a4c5d029 100644 --- a/website/versioned_docs/version-0.86/backhandler.md +++ b/website/versioned_docs/version-0.86/backhandler.md @@ -10,7 +10,7 @@ The event subscriptions are called in reverse order (i.e. the last registered su - **If one subscription returns true,** then subscriptions registered earlier will not be called. - **If no subscription returns true or none are registered,** it programmatically invokes the default back button functionality to exit the app. -:::warning Warning for modal users +:::warning[Warning for modal users] If your app shows an opened `Modal`, `BackHandler` will not publish any events ([see `Modal` docs](modal#onrequestclose)). ::: diff --git a/website/versioned_docs/version-0.86/building-for-tv.md b/website/versioned_docs/version-0.86/building-for-tv.md index b39f843a481..52430c91f74 100644 --- a/website/versioned_docs/version-0.86/building-for-tv.md +++ b/website/versioned_docs/version-0.86/building-for-tv.md @@ -6,6 +6,6 @@ hide_table_of_contents: true TV devices support has been implemented with the intention of making existing React Native applications work on Apple TV and Android TV, with few or no changes needed in the JavaScript code for the applications. -:::warning Deprecated +:::warning[Deprecated] TV support has moved to the [React Native for TV](https://github.com/react-native-tvos/react-native-tvos#readme) repository. Please see the **README** there for information on projects for Apple TV or Android TV. ::: diff --git a/website/versioned_docs/version-0.86/global-PerformanceEventTiming.md b/website/versioned_docs/version-0.86/global-PerformanceEventTiming.md index e28106b390e..5e30f206cc2 100644 --- a/website/versioned_docs/version-0.86/global-PerformanceEventTiming.md +++ b/website/versioned_docs/version-0.86/global-PerformanceEventTiming.md @@ -5,6 +5,6 @@ title: PerformanceEventTiming The global [`PerformanceEventTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEventTiming) class, as defined in Web specifications. -:::warning Partial support +:::warning[Partial support] The `cancelable` and `target` properties are not supported yet. ::: diff --git a/website/versioned_docs/version-0.86/global-PerformanceLongTaskTiming.md b/website/versioned_docs/version-0.86/global-PerformanceLongTaskTiming.md index c951fcc18f4..9e202636e70 100644 --- a/website/versioned_docs/version-0.86/global-PerformanceLongTaskTiming.md +++ b/website/versioned_docs/version-0.86/global-PerformanceLongTaskTiming.md @@ -5,6 +5,6 @@ title: PerformanceLongTaskTiming The global [`PerformanceLongTaskTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongTaskTiming) class, as defined in Web specifications. -:::warning Partial support +:::warning[Partial support] The value for the `attribution` property is always an empty array. ::: diff --git a/website/versioned_docs/version-0.86/global-PerformanceResourceTiming.md b/website/versioned_docs/version-0.86/global-PerformanceResourceTiming.md index 60da4656aeb..6575d928cfe 100644 --- a/website/versioned_docs/version-0.86/global-PerformanceResourceTiming.md +++ b/website/versioned_docs/version-0.86/global-PerformanceResourceTiming.md @@ -5,7 +5,7 @@ title: PerformanceResourceTiming The global [`PerformanceResourceTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming) class, as defined in Web specifications. -:::warning Partial support +:::warning[Partial support] React Native implements the following `PerformanceResourceTiming` properties only: diff --git a/website/versioned_docs/version-0.86/global-intersectionobserver.md b/website/versioned_docs/version-0.86/global-intersectionobserver.md index 24b8672dfd1..afa3dc70053 100644 --- a/website/versioned_docs/version-0.86/global-intersectionobserver.md +++ b/website/versioned_docs/version-0.86/global-intersectionobserver.md @@ -61,7 +61,7 @@ An offset rectangle applied to the root's bounding box when calculating intersec ### `rnRootThresholds` ⚠️ -:::warning Non-standard +:::warning[Non-standard] This is a React Native specific extension. ::: diff --git a/website/versioned_docs/version-0.86/global-intersectionobserverentry.md b/website/versioned_docs/version-0.86/global-intersectionobserverentry.md index 656be66b744..67729c711bb 100644 --- a/website/versioned_docs/version-0.86/global-intersectionobserverentry.md +++ b/website/versioned_docs/version-0.86/global-intersectionobserverentry.md @@ -43,7 +43,7 @@ A Boolean value which is `true` if the target element intersects with the inters ### `rnRootIntersectionRatio` ⚠️ -:::warning Non-standard +:::warning[Non-standard] This is a React Native specific extension. ::: diff --git a/website/versioned_docs/version-0.86/global-performance.md b/website/versioned_docs/version-0.86/global-performance.md index 488f55020ef..073576056e5 100644 --- a/website/versioned_docs/version-0.86/global-performance.md +++ b/website/versioned_docs/version-0.86/global-performance.md @@ -21,7 +21,7 @@ See [documentation in MDN](https://developer.mozilla.org/en-US/docs/Web/API/Perf ### `rnStartupTiming` ⚠️ -:::warning Non-standard +:::warning[Non-standard] This is a React Native specific extension. ::: @@ -41,7 +41,7 @@ The `ReactNativeStartupTiming` interface provides the following fields: ### `timeOrigin` -:::warning Partial support +:::warning[Partial support] Provides the number of milliseconds from the UNIX epoch until system boot, instead of the number of milliseconds from the UNIX epoch until app startup. ::: @@ -79,7 +79,7 @@ See [documentation in MDN](https://developer.mozilla.org/en-US/docs/Web/API/Perf ### `now()` -:::warning Partial support +:::warning[Partial support] Provides the number of milliseconds from system boot, instead of the number of milliseconds from app startup. ::: diff --git a/website/versioned_docs/version-0.86/integration-with-android-fragment.md b/website/versioned_docs/version-0.86/integration-with-android-fragment.md index e9c385b3eb1..99e69c2ba8f 100644 --- a/website/versioned_docs/version-0.86/integration-with-android-fragment.md +++ b/website/versioned_docs/version-0.86/integration-with-android-fragment.md @@ -33,7 +33,7 @@ This is required by React Native to handle the back button press event. Go into your host activity and make sure it implements the `DefaultHardwareBackBtnHandler` interface: -:::warning Deprecated +:::warning[Deprecated] `Activity.onBackPressed()` has been [deprecated]() since API level 33. Android 16 devices with apps targeting API level 36 this will [no longer be called](https://developer.android.com/about/versions/16/behavior-changes-16#predictive-back) and [OnBackPressedDispatcher](https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher) should be used instead. ::: diff --git a/website/versioned_docs/version-0.86/interactionmanager.md b/website/versioned_docs/version-0.86/interactionmanager.md index f98634581f3..87aaff50674 100644 --- a/website/versioned_docs/version-0.86/interactionmanager.md +++ b/website/versioned_docs/version-0.86/interactionmanager.md @@ -5,7 +5,7 @@ title: πŸ—‘οΈ InteractionManager import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; -:::warning Deprecated +:::warning[Deprecated] Avoid long-running work and use [`requestIdleCallback`](global-requestIdleCallback) instead. ::: diff --git a/website/versioned_docs/version-0.86/modal.md b/website/versioned_docs/version-0.86/modal.md index 4f6f4cfa50e..b58cd38d915 100644 --- a/website/versioned_docs/version-0.86/modal.md +++ b/website/versioned_docs/version-0.86/modal.md @@ -106,7 +106,7 @@ Inherits [View Props](view.md#props). ### πŸ—‘οΈ `animated` -:::warning Deprecated +:::warning[Deprecated] Use the [`animationType`](modal.md#animationtype) prop instead. ::: diff --git a/website/versioned_docs/version-0.86/network.md b/website/versioned_docs/version-0.86/network.md index f9ee27bb972..a11a1197d26 100644 --- a/website/versioned_docs/version-0.86/network.md +++ b/website/versioned_docs/version-0.86/network.md @@ -217,7 +217,7 @@ request.open('GET', 'https://mywebsite.com/endpoint/'); request.send(); ``` -:::warning Caution +:::warning[Caution] The security model for XMLHttpRequest is different than on web as there is no concept of [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) in native apps. ::: diff --git a/website/versioned_docs/version-0.86/other-debugging-methods.md b/website/versioned_docs/version-0.86/other-debugging-methods.md index 28b13d1e087..5df989acefc 100644 --- a/website/versioned_docs/version-0.86/other-debugging-methods.md +++ b/website/versioned_docs/version-0.86/other-debugging-methods.md @@ -27,7 +27,7 @@ Every time the app is reloaded, a new JSContext is created. Choosing "Automatica ## Remote JavaScript Debugging (removed) -:::warning Important +:::warning[Important] Remote JavaScript Debugging has been removed as of React Native 0.79. See the original [deprecation announcement](https://github.com/react-native-community/discussions-and-proposals/discussions/734). If you are on an older version of React Native, please go to the docs [for your version](/versions). diff --git a/website/versioned_docs/version-0.86/progressbarandroid.md b/website/versioned_docs/version-0.86/progressbarandroid.md index f8810dc541a..a08adfae637 100644 --- a/website/versioned_docs/version-0.86/progressbarandroid.md +++ b/website/versioned_docs/version-0.86/progressbarandroid.md @@ -3,7 +3,7 @@ id: progressbarandroid title: 'πŸ—‘οΈ ProgressBarAndroid' --- -:::warning Deprecated +:::warning[Deprecated] Use one of the [community packages](https://reactnative.directory/?search=progressbar) instead. ::: diff --git a/website/versioned_docs/version-0.86/pushnotificationios.md b/website/versioned_docs/version-0.86/pushnotificationios.md index 0cdecf3180a..c42d3a28193 100644 --- a/website/versioned_docs/version-0.86/pushnotificationios.md +++ b/website/versioned_docs/version-0.86/pushnotificationios.md @@ -3,7 +3,7 @@ id: pushnotificationios title: 'πŸ—‘οΈ PushNotificationIOS' --- -:::warning Deprecated +:::warning[Deprecated] Use one of the [community packages](https://reactnative.directory/?search=notification) instead. ::: diff --git a/website/versioned_docs/version-0.86/safeareaview.md b/website/versioned_docs/version-0.86/safeareaview.md index b8373e905a2..1298898b64e 100644 --- a/website/versioned_docs/version-0.86/safeareaview.md +++ b/website/versioned_docs/version-0.86/safeareaview.md @@ -3,7 +3,7 @@ id: safeareaview title: 'πŸ—‘οΈ SafeAreaView' --- -:::warning Deprecated +:::warning[Deprecated] Use [react-native-safe-area-context](https://github.com/AppAndFlow/react-native-safe-area-context) instead. ::: diff --git a/website/versioned_docs/version-0.86/security.md b/website/versioned_docs/version-0.86/security.md index bf8ed1ff5d4..7a6c1bf150e 100644 --- a/website/versioned_docs/version-0.86/security.md +++ b/website/versioned_docs/version-0.86/security.md @@ -68,7 +68,7 @@ In order to use iOS Keychain services or Android Secure Shared Preferences, you - [expo-secure-store](https://docs.expo.dev/versions/latest/sdk/securestore/) - [react-native-keychain](https://github.com/oblador/react-native-keychain) -:::warning Caution +:::warning[Caution] **Be mindful of unintentionally storing or exposing sensitive info.** This could happen accidentally, for example saving sensitive form data in redux state and persisting the whole state tree in Async Storage. Or sending user tokens and personal info to an application monitoring service such as Sentry or Crashlytics. ::: @@ -127,7 +127,7 @@ Using https endpoints could still leave your data vulnerable to interception. Wi **SSL pinning** is a technique that can be used on the client side to avoid this attack. It works by embedding (or pinning) a list of trusted certificates to the client during development, so that only the requests signed with one of the trusted certificates will be accepted, and any self-signed certificates will not be. -:::warning Caution +:::warning[Caution] When using SSL pinning, you should be mindful of certificate expiry. Certificates expire every 1-2 years and when one does, it’ll need to be updated in the app as well as on the server. As soon as the certificate on the server has been updated, any apps with the old certificate embedded in them will cease to work. ::: diff --git a/website/versioned_docs/version-0.86/statusbar.md b/website/versioned_docs/version-0.86/statusbar.md index 5817b8455d1..97686cf2260 100644 --- a/website/versioned_docs/version-0.86/statusbar.md +++ b/website/versioned_docs/version-0.86/statusbar.md @@ -440,7 +440,7 @@ Show or hide the status bar. ### πŸ—‘οΈ `setNetworkActivityIndicatorVisible()`
iOS
-:::warning Deprecated +:::warning[Deprecated] The status bar network activity indicator is not supported in iOS 13 and later. This will be removed in a future release. ::: diff --git a/website/versioned_docs/version-0.86/stylesheet.md b/website/versioned_docs/version-0.86/stylesheet.md index 1ac0eab9880..90c14b962a4 100644 --- a/website/versioned_docs/version-0.86/stylesheet.md +++ b/website/versioned_docs/version-0.86/stylesheet.md @@ -171,7 +171,7 @@ export default App; ### `setStyleAttributePreprocessor()` -:::warning Experimental +:::warning[Experimental] Breaking changes will probably happen a lot and will not be reliably announced. The whole thing might be deleted, who knows? Use at your own risk. ::: diff --git a/website/versioned_docs/version-0.86/textinput.md b/website/versioned_docs/version-0.86/textinput.md index b0ffd89bddf..f9adb52b513 100644 --- a/website/versioned_docs/version-0.86/textinput.md +++ b/website/versioned_docs/version-0.86/textinput.md @@ -238,7 +238,7 @@ If `true`, focuses the input. The default value is `false`. ### πŸ—‘οΈ `blurOnSubmit` -:::warning Deprecated +:::warning[Deprecated] Note that `submitBehavior` now takes the place of `blurOnSubmit` and will override any behavior defined by `blurOnSubmit`. See [submitBehavior](textinput#submitbehavior). ::: diff --git a/website/versioned_docs/version-0.86/timers.md b/website/versioned_docs/version-0.86/timers.md index 59d91b2af1c..6a377b178c3 100644 --- a/website/versioned_docs/version-0.86/timers.md +++ b/website/versioned_docs/version-0.86/timers.md @@ -25,7 +25,7 @@ Please correct this by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"`` on ## InteractionManager -:::warning Deprecated +:::warning[Deprecated] The `InteractionManager` behavior has been changed to be the same as `setImmediate`, which should be used instead. ::: diff --git a/website/versioned_docs/version-0.86/transforms.md b/website/versioned_docs/version-0.86/transforms.md index 59a2147ebfc..003585bac39 100644 --- a/website/versioned_docs/version-0.86/transforms.md +++ b/website/versioned_docs/version-0.86/transforms.md @@ -267,7 +267,7 @@ Matrix transforms are useful when you need to apply pre-calculated transformatio ### πŸ—‘οΈ `decomposedMatrix`, `rotation`, `scaleX`, `scaleY`, `transformMatrix`, `translateX`, `translateY` -:::warning Deprecated +:::warning[Deprecated] Use the [`transform`](transforms#transform) prop instead. ::: diff --git a/website/versioned_docs/version-0.86/virtualizedlist.md b/website/versioned_docs/version-0.86/virtualizedlist.md index 7cb55d1b5d7..327e665db76 100644 --- a/website/versioned_docs/version-0.86/virtualizedlist.md +++ b/website/versioned_docs/version-0.86/virtualizedlist.md @@ -298,7 +298,7 @@ Styling for internal View for `ListHeaderComponent`. ### πŸ—‘οΈ `disableVirtualization` -:::warning Deprecated +:::warning[Deprecated] Virtualization provides significant performance and memory optimizations, but fully unmounts react instances that are outside of the render window. You should only need to disable this for debugging purposes. :::