You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_getting-started-linux-android.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Follow the [installation instructions for your Linux distribution](https://nodej
13
13
14
14
<h3>Java Development Kit</h3>
15
15
16
-
React Native currently recommends version 11 of the Java SE Development Kit (JDK). You may encounter problems using higher JDK versions. You may download and install [OpenJDK](http://openjdk.java.net) from [AdoptOpenJDK](https://adoptopenjdk.net/) or your system packager.
16
+
React Native currently recommends version 17 of the Java SE Development Kit (JDK). You may encounter problems using higher JDK versions. You may download and install [OpenJDK](https://openjdk.java.net) from [AdoptOpenJDK](https://adoptopenjdk.net/) or your system packager.
17
17
18
18
<h3>Android development environment</h3>
19
19
@@ -126,9 +126,7 @@ Click "Next" then "Finish" to create your AVD. At this point you should be able
126
126
127
127
<h3>Step 1: Start Metro</h3>
128
128
129
-
First, you will need to start Metro, the JavaScript bundler that ships with React Native. Metro "takes in an entry file and various options, and returns a single JavaScript file that includes all your code and its dependencies."—[Metro Docs](https://facebook.github.io/metro/docs/concepts)
130
-
131
-
To start Metro, run following command inside your React Native project folder:
129
+
[**Metro**](https://facebook.github.io/metro/) is the JavaScript build tool for React Native. To start the Metro development server, run the following from your project folder:
> If you're familiar with web development, Metro is a lot like webpack—for React Native apps. Unlike Kotlin or Java, JavaScript isn't compiled—and neither is React Native. Bundling isn't the same as compiling, but it can help improve startup performance and translate some platform-specific JavaScript into more widely supported JavaScript.
148
+
:::note
149
+
If you're familiar with web development, Metro is similar to bundlers such as Vite and Webpack, but is designed end-to-end for React Native. For instance, Metro uses [Babel](https://babel.dev/) to transform syntax such as JSX into executable JavaScript.
Copy file name to clipboardExpand all lines: docs/_getting-started-macos-android.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ While you can use any editor of your choice to develop your app, you will need t
9
9
10
10
<h3>Node & Watchman</h3>
11
11
12
-
We recommend installing Node and Watchman using [Homebrew](http://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
12
+
We recommend installing Node and Watchman using [Homebrew](https://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
13
13
14
14
```shell
15
15
brew install node
@@ -22,21 +22,21 @@ If you have already installed Node on your system, make sure it is Node 16 or ne
22
22
23
23
<h3>Java Development Kit</h3>
24
24
25
-
We recommend installing the OpenJDK distribution called Azul **Zulu** using [Homebrew](http://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
25
+
We recommend installing the OpenJDK distribution called Azul **Zulu** using [Homebrew](https://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
26
26
27
27
```shell
28
28
brew tap homebrew/cask-versions
29
-
brew install --cask zulu11
29
+
brew install --cask zulu17
30
30
31
31
# Get path to where cask was installed to double-click installer
32
-
brew info --cask zulu11
32
+
brew info --cask zulu17
33
33
```
34
34
35
-
After you install the JDK, update your `JAVA_HOME` environment variable. If you used above steps, JDK will likely be at `/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home`
35
+
After you install the JDK, update your `JAVA_HOME` environment variable. If you used above steps, JDK will likely be at `/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home`
36
36
37
37
The Zulu OpenJDK distribution offers JDKs for **both Intel and M1 Macs**. This will make sure your builds are faster on M1 Macs compared to using an Intel-based JDK.
38
38
39
-
If you have already installed JDK on your system, we recommend JDK 11. You may encounter problems using higher JDK versions.
39
+
If you have already installed JDK on your system, we recommend JDK 17. You may encounter problems using higher JDK versions.
40
40
41
41
<h3>Android development environment</h3>
42
42
@@ -141,9 +141,7 @@ Click "Next" then "Finish" to create your AVD. At this point you should be able
141
141
142
142
<h3>Step 1: Start Metro</h3>
143
143
144
-
First, you will need to start Metro, the JavaScript bundler that ships with React Native. Metro "takes in an entry file and various options, and returns a single JavaScript file that includes all your code and its dependencies."—[Metro Docs](https://facebook.github.io/metro/docs/concepts)
145
-
146
-
To start Metro, run following command inside your React Native project folder:
144
+
[**Metro**](https://facebook.github.io/metro/) is the JavaScript build tool for React Native. To start the Metro development server, run the following from your project folder:
> If you're familiar with web development, Metro is a lot like webpack—for React Native apps. Unlike Kotlin or Java, JavaScript isn't compiled—and neither is React Native. Bundling isn't the same as compiling, but it can help improve startup performance and translate some platform-specific JavaScript into more widely supported JavaScript.
163
+
:::note
164
+
If you're familiar with web development, Metro is similar to bundlers such as Vite and Webpack, but is designed end-to-end for React Native. For instance, Metro uses [Babel](https://babel.dev/) to transform syntax such as JSX into executable JavaScript.
Copy file name to clipboardExpand all lines: docs/_getting-started-macos-ios.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
import Anchor from './Anchor.jsx';
1
2
import RemoveGlobalCLI from './\_remove-global-cli.md';
2
3
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';
3
4
@@ -9,7 +10,7 @@ While you can use any editor of your choice to develop your app, you will need t
9
10
10
11
### Node & Watchman
11
12
12
-
We recommend installing Node and Watchman using [Homebrew](http://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
13
+
We recommend installing Node and Watchman using [Homebrew](https://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
13
14
14
15
```shell
15
16
brew install node
@@ -90,7 +91,7 @@ This is the **suggested approach** to decouple the build infrastructure from the
90
91
On top of this, it's possible to add any other environment variable and to source the `.xcode.env` file in your build script phases. If you need to run script that requires some specific environment, this is the **suggested approach**: it allows to decouple the build phases from a specific environment.
91
92
92
93
:::info
93
-
If you are already using [NVM](http://nvm.sh/) (a command which helps you install and switch between versions of Node.js) and [zsh](https://ohmyz.sh/), you might want to move the code that initialize NVM from your `~/.zshrc` into a `~/.zshenv` file to help Xcode find your Node executable:
94
+
If you are already using [NVM](https://nvm.sh/) (a command which helps you install and switch between versions of Node.js) and [zsh](https://ohmyz.sh/), you might want to move the code that initialize NVM from your `~/.zshrc` into a `~/.zshenv` file to help Xcode find your Node executable:
94
95
95
96
```zsh
96
97
export NVM_DIR="$HOME/.nvm"
@@ -104,9 +105,7 @@ You might also want to ensure that all "shell script build phase" of your Xcode
104
105
105
106
### Step 1: Start Metro
106
107
107
-
First, you will need to start Metro, the JavaScript bundler that ships with React Native. Metro "takes in an entry file and various options, and returns a single JavaScript file that includes all your code and its dependencies."—[Metro Docs](https://facebook.github.io/metro/docs/concepts)
108
-
109
-
To start Metro, run following command inside your React Native project folder:
108
+
[**Metro**](https://facebook.github.io/metro/) is the JavaScript build tool for React Native. To start the Metro development server, run the following from your project folder:
> If you're familiar with web development, Metro is a lot like webpack—for React Native apps. Unlike Swift or Objective-C, JavaScript isn't compiled—and neither is React Native. Bundling isn't the same as compiling, but it can help improve startup performance and translate some platform-specific JavaScript into more widely supported JavaScript.
127
+
:::note
128
+
If you're familiar with web development, Metro is similar to bundlers such as Vite and Webpack, but is designed end-to-end for React Native. For instance, Metro uses [Babel](https://babel.dev/) to transform syntax such as JSX into executable JavaScript.
Copy file name to clipboardExpand all lines: docs/_getting-started-windows-android.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,15 @@ We recommend installing Node via [Chocolatey](https://chocolatey.org), a popular
13
13
14
14
It is recommended to use an LTS version of Node. If you want to be able to switch between different versions, you might want to install Node via [nvm-windows](https://github.com/coreybutler/nvm-windows), a Node version manager for Windows.
15
15
16
-
React Native also requires [Java SE Development Kit (JDK)](https://openjdk.java.net/projects/jdk/11/), which can be installed using Chocolatey as well.
16
+
React Native also requires [Java SE Development Kit (JDK)](https://openjdk.java.net/projects/jdk/17/), which can be installed using Chocolatey as well.
17
17
18
18
Open an Administrator Command Prompt (right click Command Prompt and select "Run as Administrator"), then run the following command:
19
19
20
20
```powershell
21
-
choco install -y nodejs-lts microsoft-openjdk11
21
+
choco install -y nodejs-lts microsoft-openjdk17
22
22
```
23
23
24
-
If you have already installed Node on your system, make sure it is Node 16 or newer. If you already have a JDK on your system, we recommend JDK11. You may encounter problems using higher JDK versions.
24
+
If you have already installed Node on your system, make sure it is Node 16 or newer. If you already have a JDK on your system, we recommend JDK17. You may encounter problems using higher JDK versions.
25
25
26
26
> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
27
27
@@ -157,9 +157,7 @@ Click "Next" then "Finish" to create your AVD. At this point you should be able
157
157
158
158
<h3>Step 1: Start Metro</h3>
159
159
160
-
First, you will need to start Metro, the JavaScript bundler that ships with React Native. Metro "takes in an entry file and various options, and returns a single JavaScript file that includes all your code and its dependencies."—[Metro Docs](https://facebook.github.io/metro/docs/concepts)
161
-
162
-
To start Metro, run following command inside your React Native project folder:
160
+
[**Metro**](https://facebook.github.io/metro/) is the JavaScript build tool for React Native. To start the Metro development server, run the following from your project folder:
> If you're familiar with web development, Metro is a lot like webpack—for React Native apps. Unlike Kotlin or Java, JavaScript isn't compiled—and neither is React Native. Bundling isn't the same as compiling, but it can help improve startup performance and translate some platform-specific JavaScript into more widely supported JavaScript.
179
+
:::note
180
+
If you're familiar with web development, Metro is similar to bundlers such as Vite and Webpack, but is designed end-to-end for React Native. For instance, Metro uses [Babel](https://babel.dev/) to transform syntax such as JSX into executable JavaScript.
Copy file name to clipboardExpand all lines: docs/_integration-with-existing-apps-objc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,9 @@ Add `node_modules/` to your `.gitignore` file.
85
85
86
86
### 3. Install CocoaPods
87
87
88
-
[CocoaPods](http://cocoapods.org) is a package management tool for iOS and macOS development. We use it to add the actual React Native framework code locally into your current project.
88
+
[CocoaPods](https://cocoapods.org) is a package management tool for iOS and macOS development. We use it to add the actual React Native framework code locally into your current project.
89
89
90
-
We recommend installing CocoaPods using [Homebrew](http://brew.sh/).
90
+
We recommend installing CocoaPods using [Homebrew](https://brew.sh/).
Copy file name to clipboardExpand all lines: docs/_integration-with-existing-apps-swift.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,9 +83,9 @@ Add `node_modules/` to your `.gitignore` file.
83
83
84
84
### 3. Install CocoaPods
85
85
86
-
[CocoaPods](http://cocoapods.org) is a package management tool for iOS and macOS development. We use it to add the actual React Native framework code locally into your current project.
86
+
[CocoaPods](https://cocoapods.org) is a package management tool for iOS and macOS development. We use it to add the actual React Native framework code locally into your current project.
87
87
88
-
We recommend installing CocoaPods using [Homebrew](http://brew.sh/).
88
+
We recommend installing CocoaPods using [Homebrew](https://brew.sh/).
Copy file name to clipboardExpand all lines: docs/animated.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,7 +247,7 @@ Config is an object that may have the following options.
247
247
248
248
Note that you can only define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one:
249
249
250
-
The friction/tension or bounciness/speed options match the spring model in [`Facebook Pop`](https://github.com/facebook/pop), [Rebound](https://github.com/facebookarchive/rebound), and [Origami](http://origami.design/).
250
+
The friction/tension or bounciness/speed options match the spring model in [`Facebook Pop`](https://github.com/facebook/pop), [Rebound](https://github.com/facebookarchive/rebound), and [Origami](https://origami.design/).
Copy file name to clipboardExpand all lines: docs/asyncstorage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ title: '🚧 AsyncStorage'
9
9
10
10
It is recommended that you use an abstraction on top of `AsyncStorage` instead of `AsyncStorage` directly for anything more than light usage since it operates globally.
11
11
12
-
On iOS, `AsyncStorage` is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, `AsyncStorage` will use either [RocksDB](http://rocksdb.org/) or SQLite based on what is available.
12
+
On iOS, `AsyncStorage` is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, `AsyncStorage` will use either [RocksDB](https://rocksdb.org/) or SQLite based on what is available.
13
13
14
14
The `AsyncStorage` JavaScript code is a facade that provides a clear JavaScript API, real `Error` objects, and non-multi functions. Each method in the API returns a `Promise` object.
0 commit comments