Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine createElement and JSX modules #28320

Merged

Commits on Feb 20, 2024

  1. Combine createElement and JSX modules

    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 livs) 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.
    acdlite committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    4e55cd4 View commit details
    Browse the repository at this point in the history