Skip to content

Sync latest syntax. #5575

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

Merged
merged 2 commits into from
Jul 21, 2022
Merged

Sync latest syntax. #5575

merged 2 commits into from
Jul 21, 2022

Conversation

cristianoc
Copy link
Collaborator

  • Initial support for JSX V4, still work in progress.
    • 💥 when V4 is activated, at most one component is allowed for each module.

@@ -29,7 +29,9 @@ let rewrite_signature (ast : Parsetree.signature) : Parsetree.signature =
Ast_config.iter_on_bs_config_sigi ast;
let ast =
match !Js_config.jsx_version with
| 3 -> Reactjs_jsx_ppx_v3.rewrite_signature ast
| 3 ->
Reactjs_jsx_ppx.rewrite_signature ~jsxVersion:3 ~jsxModule:""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be duplicated to #5484

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to merge this in master.
Then #5484 rebases on top.
A small step, but gets the basic structure into master.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got your point!

@cristianoc cristianoc merged commit 724ee3d into master Jul 21, 2022
@cristianoc cristianoc deleted the sync-latest-syntax branch July 21, 2022 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants