Skip to content

Commit 3b13b94

Browse files
committed
Combine ReactJSXElementValidator with main module (#28317)
There are too many layers to the JSX runtime implementation. I think basically everything should be implemented in a single file, so that's what I'm going to do. As a first step, this deletes ReactJSXElementValidator and moves all the code into ReactJSXElement. I can already see how this will help us remove more indirections in the future. Next I'm going to do start moving the `createElement` runtime into this module as well, since there's a lot of duplicated code. DiffTrain build for [ec160f3](ec160f3)
1 parent 76bf9a9 commit 3b13b94

13 files changed

+1700
-1779
lines changed

compiled/facebook-www/JSXDEVRuntime-dev.classic.js

Lines changed: 398 additions & 427 deletions
Large diffs are not rendered by default.

compiled/facebook-www/JSXDEVRuntime-dev.modern.js

Lines changed: 398 additions & 427 deletions
Large diffs are not rendered by default.

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c820097716c3d9765bf85bf58202a4975d99e450
1+
ec160f32c28ccab798c73ecccbb36ce121e1640e

0 commit comments

Comments
 (0)