Skip to content

Commit fda9013

Browse files
Sweta TanwarSweta Tanwar
Sweta Tanwar
authored and
Sweta Tanwar
committed
fix: typo errors in new architecture.md
1 parent 6342396 commit fda9013

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

New-Architecture/New-Architecture-in-depth.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ There are **2 types** of Native Module System in React Native
6060

6161
1. **OLD native module** **system** (aka: **“Bridge based Native Module system”** or **“Legacy native module system”** that uses **JSON data Serialization**)
6262

63-
2. **New native module** **system** (aka: **Turbo Module system** that uses **JSI.** JSI (JavaScript Interface) was written by C++)
63+
2. **New native module** **system** (aka: **Turbo Module system** that uses **JSI.** JSI (JavaScript Interface) is written in C++)
6464

6565
### **Typed JavaScript code**
6666

@@ -138,7 +138,7 @@ The **new Architecture** of **React Native** completes its full cycle in **2 pha
138138

139139
### Phase 1: App Build time
140140

141-
When a developer turns on both **Codegen** and **Turbo Module** in their app and then gives a **build command** just before production deployment to create an **APK** for **Android** or an **IAP** for **iOS** device, the following steps are done from the new architecture flow:
141+
When a developer turns on both **Codegen** and **Turbo Module** in their app and then gives a **build command** just before production deployment to create an **APK** for **Android** or an **IPA** for **iOS** device, the following steps are done from the new architecture flow:
142142

143143
- The **Build** command **compiles** the JavaScript code into **bytecode**.
144144

@@ -390,9 +390,9 @@ The **React element tree** is used to render the **React shadow tree** in **C++*
390390
);
391391
};
392392

393-
During the **Render phase**, a **shadow node** is created for **each React element**. This shadow node is created **synchronously**, only for React **host components**, and **not for composite components** such as **<View>**.
393+
During the **Render phase**, a **shadow node** is created for **each React element**. This shadow node is created **synchronously**, only for React **host components**, and **not for composite components** such as **\<View>**.
394394

395-
When transformed into a Shadow Block , the **<View>** is translated into a **<ViewShadowNode>** object.
395+
When transformed into a Shadow Block , the **\<View>** is translated into a **\<ViewShadowNode>** object.
396396

397397
The new **renderer** will automatically reflect the **parent-child relationships** between React element nodes. The above process shows how the React shadow tree is assembled; once it is complete, **the renderer triggers a commit** of the **element tree**.
398398

0 commit comments

Comments
 (0)