Skip to content

Commit

Permalink
Fix documentation typos (facebook#3395)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel authored Nov 4, 2022
1 parent ea4f803 commit cdd9399
Show file tree
Hide file tree
Showing 27 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion docs/_getting-started-windows-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you have already installed Node on your system, make sure it is Node 14 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion docs/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Represents the current value for range-based components, such as sliders and pro

### `aria-valuetext`

Repersents the textual description of the component.
Represents the textual description of the component.

### `aria-modal` <div class="label ios">iOS</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
2 changes: 1 addition & 1 deletion docs/react-18-and-react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ On iOS, you'll have access to the `concurrentRootEnabled` method on your `AppDel
///
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.
/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
- (BOOL)concurrentRootEnabled
{
// Switch this bool to turn on and off the concurrent root
Expand Down
4 changes: 2 additions & 2 deletions docs/the-new-architecture/backward-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import NewArchitectureWarning from '../\_markdown-new-architecture-warning.mdx';

Creating a backward compatible module is important to provide a library that works in both the **Old Architecture** and the **New Architecture**. Not all the users of your library will immediately jump on the New Architecture ship: it is a good thing that they will be able to use your library even if they are still using the old architecture.

The trick to create a good backward compatible module is to minimize the changes required to adopt the new version. In that way, users of the module can smoothly move to the new version and migrate to the New Architecture when they are ready, ideally by issueing one different command.
The trick to create a good backward compatible module is to minimize the changes required to adopt the new version. In that way, users of the module can smoothly move to the new version and migrate to the New Architecture when they are ready, ideally by issuing one different command.

To achieve this result, we have to perform few changes in our **Turbo Native Module** and **Fabric Native Component** configurations. The steps we have to follow are:

1. **Update the installation configuration** to avoid using code that is not needed by the Old Architecture.
1. **Update the code** to support both architectures. Both Android and iOS build pipelines gives you mechanism to provide a library that will compile with the correct React Native Architecture.
1. **Configure the specs to load the proper implementation**, so that the JavaScript layer leverages the New Architecture whan it is available.
1. **Configure the specs to load the proper implementation**, so that the JavaScript layer leverages the New Architecture when it is available.

:::info
The next sections requires that you are familiar with the [Pillars](pillars) of the **New Architecture**.
Expand Down
2 changes: 1 addition & 1 deletion docs/touchablewithoutfeedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Represents the current value for range-based components, such as sliders and pro

### `aria-valuetext`

Repersents the textual description of the component. Has precedence over the `text` value in the `accessibilityValue` prop.
Represents the textual description of the component. Has precedence over the `text` value in the `accessibilityValue` prop.

| Type |
| ------ |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you have already installed Node on your system, make sure it is Node 10 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you have already installed Node on your system, make sure it is Node 10 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you have already installed Node on your system, make sure it is Node 10 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you have already installed Node on your system, make sure it is Node 10 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you have already installed Node on your system, make sure it is Node 12 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.64/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you have already installed Node on your system, make sure it is Node 12 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.65/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you have already installed Node on your system, make sure it is Node 12 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.66/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you have already installed Node on your system, make sure it is Node 12 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.67/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you have already installed Node on your system, make sure it is Node 14 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.68/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you have already installed Node on your system, make sure it is Node 14 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.69/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ On iOS, you'll have access to the `concurrentRootEnabled` method on your `AppDel
///
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.
/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
- (BOOL)concurrentRootEnabled
{
// Switch this bool to turn on and off the concurrent root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you have already installed Node on your system, make sure it is Node 14 or ne

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.70/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ A static image to display while loading the image source.

### `fadeDuration` <div class="label android">Android</div>

Fade animation duration in miliseconds.
Fade animation duration in milliseconds.

| Type | Default |
| ------ | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ On iOS, you'll have access to the `concurrentRootEnabled` method on your `AppDel
///
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.
/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
- (BOOL)concurrentRootEnabled
{
// Switch this bool to turn on and off the concurrent root
Expand Down
Loading

0 comments on commit cdd9399

Please sign in to comment.