From 2b0f4d7f0c32c90075042c95a69448aede36150e Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 8 Jun 2022 15:29:28 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Riccardo --- docs/react-18-and-react-native.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/react-18-and-react-native.md b/docs/react-18-and-react-native.md index 199c6ca13ad..6fe75cf445e 100644 --- a/docs/react-18-and-react-native.md +++ b/docs/react-18-and-react-native.md @@ -5,7 +5,7 @@ title: React 18 & React Native import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; -This page describes how to use React 18 with React Native using the New React Native Architecture. +This page describes how to use React 18 with React Native using the React Native's New Architecture. > **tl;dr:** The first version of React Native compatible with React 18 is **0.69.0**. In order to use the new features in React 18 including automatic batching, `startTransition`, and `useDeferredValue`, you must migrate your React Native app to the New Architecture. @@ -26,9 +26,9 @@ It also includes new concurrent features: The concurrent features in React 18 are built on top of the new concurrent rendering engine. Concurrent rendering is a new behind-the-scenes mechanism that enables React to prepare multiple versions of your UI at the same time. -Previous versions of React Native built on the old architecture **cannot** support concurrent rendering or concurrent features. This is because the old architecture relied on mutating the native trees, which doesn’t allow for React to prepare multiple versions of the trees at the same time. +Previous versions of React Native built on the old architecture **cannot** support concurrent rendering or concurrent features. This is because the old architecture relied on mutating the native trees, which doesn’t allow for React to prepare multiple versions of the tree at the same time. -Fortunately, the New Architecture was written bottom-up with concurrent rendering in mind and is fully compatible with React 18. This means, in order to upgrade to React 18 in your React Native app, your application needs to be migrated to the New React Native Architecture including Fabric and TurboModules. +Fortunately, the New Architecture was written bottom-up with concurrent rendering in mind, and is fully compatible with React 18. This means, in order to upgrade to React 18 in your React Native app, your application needs to be migrated to the React Native's New Architecture including Fabric and TurboModules. ## React 18 enabled by default