-
Notifications
You must be signed in to change notification settings - Fork 43
Jsx adaptions #1
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
Conversation
@@ -0,0 +1,30 @@ | |||
@@warning("-27") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this coming from? I don't think the ppx adds -27 so I'm surprised to see it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the -27 attribute manually though
@@ -25,16 +25,16 @@ external cloneElement: (element, 'props) => element = "cloneElement" | |||
external createElementVariadic: (component<'props>, 'props, array<element>) => element = | |||
"createElement" | |||
|
|||
@module("react") @deprecated("Please use JSX syntax directly.") | |||
@module("react/jsx-runtime") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still want the @deprecated
here. We want people to use JSX syntax or createElement. If we need to create a directly usable api we can do that outside of this work.
@ryyppy I guess this is obsolete and can be closed? |
@ryyppy @mattdamon108 Is there anything still relevant in this PR or can it be closed? |
I think JSX v4 has already a transformation using |
Ok, so I am closing this one now. |
No description provided.