Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
ryyppy wants to merge2 commits intomasterfromjsx-adaptions
Closed

Jsx adaptions#1

ryyppy wants to merge2 commits intomasterfromjsx-adaptions

Conversation

@ryyppy
Copy link
Member

No description provided.

@@ -0,0 +1,30 @@
@@warning("-27")
Copy link
Collaborator

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.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Caused bythis line

let \"Foo$App" = (\"Props": {.}) => make()

"Props" is not being used here

Copy link
MemberAuthor

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

"createElement"

@module("react") @deprecated("Please use JSX syntax directly.")
@module("react/jsx-runtime")
Copy link
Collaborator

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.

@cknitt
Copy link
Member

@ryyppy I guess this is obsolete and can be closed?

@cknitt
Copy link
Member

@ryyppy @mattdamon108 Is there anything still relevant in this PR or can it be closed?

@mununki
Copy link
Member

I think JSX v4 has already a transformation using_jsx with bindings.

@cknitt
Copy link
Member

Ok, so I am closing this one now.

mununki reacted with thumbs up emoji

@cknittcknitt closed thisSep 29, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@rickyvetterrickyvetterrickyvetter left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@ryyppy@cknitt@mununki@rickyvetter

[8]ページ先頭

©2009-2025 Movatter.jp