Skip to content

Commit fe6e34b

Browse files
sunnylqmgabrieldonadelhuntiedependabot[bot]blakef
authored
0805 sync 0.73 (#734)
* Update Debugging docs to no longer recommend Remote debugging (facebook#3702) Co-authored-by: Alex Hunt <[email protected]> * Bump fast-xml-parser from 4.2.4 to 4.2.5 (facebook#3777) Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.2.4 to 4.2.5. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](NaturalIntelligence/fast-xml-parser@v4.2.4...v4.2.5) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Upgrade got dependency (facebook#3776) * feature: Move to GA4 (UA being reprecated in June) Google Analytics is deprecating the older clients. This is the first step to enable to newer client. This should be followed with a step to remove the old client once we know data is flowing. * Upgrade got dependency Resolves dependabot alerts #26 * Use `https` links over `http` (facebook#3761) * [docs] Update/simplify info around Metro for env setup (facebook#3673) * [docs] Add Metro guide, update Metro config references (facebook#3772) * [docs] Remove static config note in Metro guide, adjust formatting (facebook#3782) * Improving Grammar and Clarity.md (facebook#3783) Improving Grammar and Clarity in React Native's Performance Description * Fix docs for onResponderGrant (facebook#3785) * react-native-gradle-plugin renamed to @react-native/gradle-plugin (facebook#3786) * Update _integration-with-existing-apps-kotlin.md * Update _integration-with-existing-apps-kotlin.md * Update _integration-with-existing-apps-java.md * Update _integration-with-existing-apps-java.md * Update _integration-with-existing-apps-kotlin.md * Update how-to-build-from-source for 0.72+ (facebook#3659) * Clarify documentation for turbomodules (facebook#3787) * Clarify documentation for turbomodules `codegenConfig` is stated in text that it's an array, but in code example it's an object. Either the text or the code example should change. * Fix linting issue * Update the PR to reflect knowledge that the code sample is correct but documentation wrong * Update FlatList Optimization Guide for FCs (facebook#3700) * Update FlatList Optimization Guide for FCs * fix lint * Update docs/optimizing-flatlist-configuration.md --------- Co-authored-by: Егорик <[email protected]> Co-authored-by: Nick Gerleman <[email protected]> * [docs] Add guidance on repo build scripts (facebook#3788) * [docs] add Chain React 2023 playlist link on staying-updated (facebook#3790) * Bump semver from 5.7.1 to 5.7.2 (facebook#3791) Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](npm/node-semver@v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Docusaurus v2.4.1 (facebook#3778) * Bump word-wrap from 1.2.3 to 1.2.4 (facebook#3794) Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: iOS backwards compatibility update (facebook#3775) * Update backward-compatibility-fabric-components.md Ensure backwards-compat docs refer to all necessary code changes. reactwg/react-native-new-architecture#8 (comment) * Update docs/the-new-architecture/backward-compatibility-fabric-components.md Co-authored-by: Riccardo Cipolleschi <[email protected]> * trim whitespace and fix typo --------- Co-authored-by: Riccardo Cipolleschi <[email protected]> * [website] swizzle DocVersionBanner, tweak wording (facebook#3800) * tweak: improve wordiness on docs about bumping monorepo packages (facebook#3805) * Fix typo in architecture-glossary.md (facebook#3806) * docs: change js to tsx (facebook#3808) * Update website to use JDK 17 (facebook#3812) LGTM. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Gabriel Donadel Dall'Agnol <[email protected]> Co-authored-by: Alex Hunt <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Blake Friedman <[email protected]> Co-authored-by: Pranav Yadav <[email protected]> Co-authored-by: Waseem Kurne <[email protected]> Co-authored-by: Pieter De Baets <[email protected]> Co-authored-by: Nicola Corti <[email protected]> Co-authored-by: Stefan Wallin <[email protected]> Co-authored-by: Егорик <[email protected]> Co-authored-by: Егорик <[email protected]> Co-authored-by: Nick Gerleman <[email protected]> Co-authored-by: David Leuliette <[email protected]> Co-authored-by: Sébastien Lorber <[email protected]> Co-authored-by: Connor Mullins <[email protected]> Co-authored-by: Riccardo Cipolleschi <[email protected]> Co-authored-by: Bartosz Kaszubowski <[email protected]> Co-authored-by: Lorenzo Sciandra <[email protected]> Co-authored-by: Stanley Ugwu <[email protected]> Co-authored-by: kong <[email protected]>
1 parent 5d71dfc commit fe6e34b

File tree

87 files changed

+923
-458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+923
-458
lines changed

docs/_getting-started-linux-android.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Follow the [installation instructions for your Linux distribution](https://nodej
1313

1414
<h3>Java Development Kit</h3>
1515

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

1818
<h3>Android development environment</h3>
1919

@@ -126,9 +126,7 @@ Click "Next" then "Finish" to create your AVD. At this point you should be able
126126

127127
<h3>Step 1: Start Metro</h3>
128128

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

133131
<Tabs groupId="package-manager" queryString defaultValue={constants.defaultPackageManager} values={constants.packageManagers}>
134132
<TabItem value="npm">
@@ -147,7 +145,9 @@ yarn start
147145
</TabItem>
148146
</Tabs>
149147

150-
> 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.
150+
:::
151151

152152
<h3>Step 2: Start your application</h3>
153153

docs/_getting-started-macos-android.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ While you can use any editor of your choice to develop your app, you will need t
99

1010
<h3>Node &amp; Watchman</h3>
1111

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

1414
```shell
1515
brew install node
@@ -22,21 +22,21 @@ If you have already installed Node on your system, make sure it is Node 16 or ne
2222

2323
<h3>Java Development Kit</h3>
2424

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

2727
```shell
2828
brew tap homebrew/cask-versions
29-
brew install --cask zulu11
29+
brew install --cask zulu17
3030

3131
# Get path to where cask was installed to double-click installer
32-
brew info --cask zulu11
32+
brew info --cask zulu17
3333
```
3434

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`
3636

3737
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.
3838

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

4141
<h3>Android development environment</h3>
4242

@@ -141,9 +141,7 @@ Click "Next" then "Finish" to create your AVD. At this point you should be able
141141

142142
<h3>Step 1: Start Metro</h3>
143143

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

148146
<Tabs groupId="package-manager" queryString defaultValue={constants.defaultPackageManager} values={constants.packageManagers}>
149147
<TabItem value="npm">
@@ -162,7 +160,9 @@ yarn start
162160
</TabItem>
163161
</Tabs>
164162

165-
> 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.
165+
:::
166166

167167
<h3>Step 2: Start your application</h3>
168168

docs/_getting-started-macos-ios.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Anchor from './Anchor.jsx';
12
import RemoveGlobalCLI from './\_remove-global-cli.md';
23
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';
34

@@ -9,7 +10,7 @@ While you can use any editor of your choice to develop your app, you will need t
910

1011
### Node & Watchman
1112

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

1415
```shell
1516
brew install node
@@ -90,7 +91,7 @@ This is the **suggested approach** to decouple the build infrastructure from the
9091
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.
9192

9293
:::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:
9495

9596
```zsh
9697
export NVM_DIR="$HOME/.nvm"
@@ -104,9 +105,7 @@ You might also want to ensure that all "shell script build phase" of your Xcode
104105

105106
### Step 1: Start Metro
106107

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

111110
<Tabs groupId="package-manager" queryString defaultValue={constants.defaultPackageManager} values={constants.packageManagers}>
112111
<TabItem value="npm">
@@ -125,7 +124,9 @@ yarn start
125124
</TabItem>
126125
</Tabs>
127126

128-
> 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.
129+
:::
129130

130131
### Step 2: Start your application
131132

docs/_getting-started-windows-android.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ We recommend installing Node via [Chocolatey](https://chocolatey.org), a popular
1313

1414
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.
1515

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

1818
Open an Administrator Command Prompt (right click Command Prompt and select "Run as Administrator"), then run the following command:
1919

2020
```powershell
21-
choco install -y nodejs-lts microsoft-openjdk11
21+
choco install -y nodejs-lts microsoft-openjdk17
2222
```
2323

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

2626
> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
2727
@@ -157,9 +157,7 @@ Click "Next" then "Finish" to create your AVD. At this point you should be able
157157

158158
<h3>Step 1: Start Metro</h3>
159159

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

164162
<Tabs groupId="package-manager" queryString defaultValue={constants.defaultPackageManager} values={constants.packageManagers}>
165163
<TabItem value="npm">
@@ -178,7 +176,9 @@ yarn start
178176
</TabItem>
179177
</Tabs>
180178

181-
> 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.
181+
:::
182182

183183
<h3>Step 2: Start your application</h3>
184184

docs/_integration-with-existing-apps-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ React Native uses the React Native Gradle Plugin to configure your dependencies
8888
First, let's edit your `settings.gradle` file by adding this line:
8989

9090
```groovy
91-
includeBuild('../node_modules/react-native-gradle-plugin')
91+
includeBuild('../node_modules/@react-native/gradle-plugin')
9292
```
9393

9494
Then you need to open your top level `build.gradle` and include this line:

docs/_integration-with-existing-apps-kotlin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ React Native uses the React Native Gradle Plugin to configure your dependencies
8888
First, let's edit your `settings.gradle` file by adding this line:
8989

9090
```groovy
91-
includeBuild('../node_modules/react-native-gradle-plugin')
91+
includeBuild('../node_modules/@react-native/gradle-plugin')
9292
```
9393

9494
Then you need to open your top level `build.gradle` and include this line:

docs/_integration-with-existing-apps-objc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ Add `node_modules/` to your `.gitignore` file.
8585

8686
### 3. Install CocoaPods
8787

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

90-
We recommend installing CocoaPods using [Homebrew](http://brew.sh/).
90+
We recommend installing CocoaPods using [Homebrew](https://brew.sh/).
9191

9292
```shell
9393
brew install cocoapods

docs/_integration-with-existing-apps-swift.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ Add `node_modules/` to your `.gitignore` file.
8383

8484
### 3. Install CocoaPods
8585

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

88-
We recommend installing CocoaPods using [Homebrew](http://brew.sh/).
88+
We recommend installing CocoaPods using [Homebrew](https://brew.sh/).
8989

9090
```shell
9191
$ brew install cocoapods

docs/animated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Config is an object that may have the following options.
247247

248248
Note that you can only define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one:
249249

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/).
251251

252252
- `friction`: Controls "bounciness"/overshoot. Default 7.
253253
- `tension`: Controls speed. Default 40.

docs/asyncstorage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: '🚧 AsyncStorage'
99

1010
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.
1111

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

1414
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.
1515

0 commit comments

Comments
 (0)