Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/accessibilityinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/backhandler.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/building-for-tv.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
2 changes: 1 addition & 1 deletion docs/global-PerformanceEventTiming.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
2 changes: 1 addition & 1 deletion docs/global-PerformanceLongTaskTiming.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
2 changes: 1 addition & 1 deletion docs/global-PerformanceResourceTiming.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion docs/global-intersectionobserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
Expand Down
2 changes: 1 addition & 1 deletion docs/global-intersectionobserverentry.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
6 changes: 3 additions & 3 deletions docs/global-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand All @@ -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.
:::

Expand Down Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/integration-with-android-fragment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](<https://developer.android.com/reference/android/app/Activity#onBackPressed()>) 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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/interactionmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Inherits [View Props](view.md#props).

### 🗑️ `animated`

:::warning Deprecated
:::warning[Deprecated]
Use the [`animationType`](modal.md#animationtype) prop instead.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/other-debugging-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion docs/progressbarandroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: progressbarandroid
title: '🗑️ ProgressBarAndroid'
---

:::warning Deprecated
:::warning[Deprecated]
Use one of the [community packages](https://reactnative.directory/?search=progressbar) instead.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/pushnotificationios.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: pushnotificationios
title: '🗑️ PushNotificationIOS'
---

:::warning Deprecated
:::warning[Deprecated]
Use one of the [community packages](https://reactnative.directory/?search=notification) instead.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/safeareaview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
4 changes: 2 additions & 2 deletions docs/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/statusbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ Show or hide the status bar.

### 🗑️ `setNetworkActivityIndicatorVisible()` <div className="label ios">iOS</div>

:::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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/stylesheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/virtualizedlist.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/accessibilityinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/backhandler.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/building-for-tv.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
6 changes: 3 additions & 3 deletions website/versioned_docs/version-0.86/global-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand All @@ -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.
:::

Expand Down Expand Up @@ -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.
:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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](<https://developer.android.com/reference/android/app/Activity#onBackPressed()>) 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.
:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/interactionmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Inherits [View Props](view.md#props).

### 🗑️ `animated`

:::warning Deprecated
:::warning[Deprecated]
Use the [`animationType`](modal.md#animationtype) prop instead.
:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/progressbarandroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: progressbarandroid
title: '🗑️ ProgressBarAndroid'
---

:::warning Deprecated
:::warning[Deprecated]
Use one of the [community packages](https://reactnative.directory/?search=progressbar) instead.
:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.86/pushnotificationios.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: pushnotificationios
title: '🗑️ PushNotificationIOS'
---

:::warning Deprecated
:::warning[Deprecated]
Use one of the [community packages](https://reactnative.directory/?search=notification) instead.
:::

Expand Down
Loading