Skip to content

Commit 8f2fcde

Browse files
authored
Fix typos (facebook#4183)
1 parent 2e0b01f commit 8f2fcde

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/flatlist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ Example usage:
426426

427427
### <div class="label required basic">Required</div> **`data`**
428428

429-
An array (or array-like list) of items to render. Other data types can be used by targetting [`VirtualizedList`](virtualizedlist.md) directly.
429+
An array (or array-like list) of items to render. Other data types can be used by targeting [`VirtualizedList`](virtualizedlist.md) directly.
430430

431431
| Type |
432432
| --------- |

docs/linking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ Determine whether or not an installed app can handle a given URL.
555555

556556
The method returns a `Promise` object. When it is determined whether or not the given URL can be handled, the promise is resolved and the first parameter is whether or not it can be opened.
557557

558-
The `Promise` will reject on Android if it was impossible to check if the URL can be opened or when targetting Android 11 (SDK 30) if you didn't specify the relevant intent queries in `AndroidManifest.xml`. Similarly on iOS, the promise will reject if you didn't add the specific scheme in the `LSApplicationQueriesSchemes` key inside `Info.plist` (see bellow).
558+
The `Promise` will reject on Android if it was impossible to check if the URL can be opened or when targeting Android 11 (SDK 30) if you didn't specify the relevant intent queries in `AndroidManifest.xml`. Similarly on iOS, the promise will reject if you didn't add the specific scheme in the `LSApplicationQueriesSchemes` key inside `Info.plist` (see bellow).
559559

560560
**Parameters:**
561561

docs/optimizing-flatlist-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ You can also use a `key` prop in your item component.
137137

138138
For functional components, move the `renderItem` function outside of the returned JSX. Also, ensure that it is wrapped in a `useCallback` hook to prevent it from being recreated each render.
139139

140-
For class componenents, move the `renderItem` function outside of the render function, so it won't recreate itself each time the render function is called.
140+
For class components, move the `renderItem` function outside of the render function, so it won't recreate itself each time the render function is called.
141141

142142
```tsx
143143
const renderItem = useCallback(({item}) => (

website/versioned_docs/version-0.75/flatlist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ Example usage:
426426

427427
### <div class="label required basic">Required</div> **`data`**
428428

429-
An array (or array-like list) of items to render. Other data types can be used by targetting [`VirtualizedList`](virtualizedlist.md) directly.
429+
An array (or array-like list) of items to render. Other data types can be used by targeting [`VirtualizedList`](virtualizedlist.md) directly.
430430

431431
| Type |
432432
| --------- |

website/versioned_docs/version-0.75/linking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ Determine whether or not an installed app can handle a given URL.
555555

556556
The method returns a `Promise` object. When it is determined whether or not the given URL can be handled, the promise is resolved and the first parameter is whether or not it can be opened.
557557

558-
The `Promise` will reject on Android if it was impossible to check if the URL can be opened or when targetting Android 11 (SDK 30) if you didn't specify the relevant intent queries in `AndroidManifest.xml`. Similarly on iOS, the promise will reject if you didn't add the specific scheme in the `LSApplicationQueriesSchemes` key inside `Info.plist` (see bellow).
558+
The `Promise` will reject on Android if it was impossible to check if the URL can be opened or when targeting Android 11 (SDK 30) if you didn't specify the relevant intent queries in `AndroidManifest.xml`. Similarly on iOS, the promise will reject if you didn't add the specific scheme in the `LSApplicationQueriesSchemes` key inside `Info.plist` (see bellow).
559559

560560
**Parameters:**
561561

website/versioned_docs/version-0.75/optimizing-flatlist-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ You can also use a `key` prop in your item component.
137137

138138
For functional components, move the `renderItem` function outside of the returned JSX. Also, ensure that it is wrapped in a `useCallback` hook to prevent it from being recreated each render.
139139

140-
For class componenents, move the `renderItem` function outside of the render function, so it won't recreate itself each time the render function is called.
140+
For class components, move the `renderItem` function outside of the render function, so it won't recreate itself each time the render function is called.
141141

142142
```tsx
143143
const renderItem = useCallback(({item}) => (

0 commit comments

Comments
 (0)