Skip to content

Commit 07bb013

Browse files
authored
Add missing word to latest blog post (#3320)
* Add missing word to latest blog post * Change sentence to past tense
1 parent 491f7ac commit 07bb013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/blog/2020-09-22-introducing-the-new-jsx-transform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function App() {
5454
5555
However, this is not perfect:
5656

57-
* Because JSX compiled into `React.createElement`, `React` needed to be in scope if you use JSX.
57+
* Because JSX was compiled into `React.createElement`, `React` needed to be in scope if you used JSX.
5858
* There are some [performance improvements and simplifications](https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md#motivation) that `React.createElement` does not allow.
5959

6060
To solve these issues, React 17 introduces two new entry points to the React package that are intended to only be used by compilers like Babel and TypeScript. Instead of transforming JSX to `React.createElement`, **the new JSX transform** automatically imports special functions from those new entry points in the React package and calls them.

0 commit comments

Comments
 (0)