SIGN IN SIGN UP

Combine createElement and JSX modules (#28320)

Depends on:

- #28317 

---

There's a ton of overlap between the createElement implementation and
the JSX implementation, so I combined them into a single module.

In the actual build output, the shared code between JSX and
createElement will get duplicated anyway, because react/jsx-runtime and
react (where createElement lives) are separate, flat build artifacts.

So this is more about code organization — with a few key exceptions, the
implementations of createElement and jsx are highly coupled.
A
Andrew Clark committed
5fb2c93f3924ba980444da5698f60651b5ef0689
Parent: ec160f3
Committed by GitHub <noreply@github.com> on 2/20/2024, 3:45:18 AM