Skip to content

Commit b3ab66c

Browse files
Update what-is-codegen.md (facebook#4300)
1 parent e59db1a commit b3ab66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/the-new-architecture/what-is-codegen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ React Native invokes **Codegen** automatically every time an iOS or Android app
1010

1111
**Codegen** is a process that is tightly coupled with a React Native app. The **Codegen** scripts live inside the `react-native` NPM package and the apps calls those scripts at build time.
1212

13-
**Codegen** crawls the folders in your project, starting form a directory you specify in your `package.json`, looking for some specific JS files that contains the specification (or specs) for your custom modules and components. Spec files are JS files written in a typed dialect: React Native currently supports Flow and TypeScript.
13+
**Codegen** crawls the folders in your project, starting from a directory you specify in your `package.json`, looking for some specific JS files that contains the specification (or specs) for your custom modules and components. Spec files are JS files written in a typed dialect: React Native currently supports Flow and TypeScript.
1414

1515
Every time **Codegen** finds a spec files, it generates the boilerplate code associated to it. **Codegen** generates some C++ glue-code and then it generates platform-specific code, using Java for Android and Objective-C++ for iOS.

0 commit comments

Comments
 (0)