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

Change the json to delete the react import that is not longer necessary#280

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

Open
luislealdev wants to merge1 commit intor5n-labs:master
base:master
Choose a base branch
Loading
fromluislealdev:master

Conversation

luislealdev
Copy link

Hey! I love the extension but I noticed that it is not up to date, with the new versions of react, JSX can be used without importing it. So it generates unnecessary lines of code, I hope to contribute ;)

There is more information in
https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html

If there is something that you think should stay the same, tell me and I can return it to its original.
Regards and Thank you

ArtemFokin and hurole reacted with thumbs up emoji
@tmerlet
Copy link

so this shouldn't be necessary. If people are using React 16, they still need the import statement, therefore it shouldn't be removed. There's an option to turn off theimport React from 'react, however this option is not currently working I don't think, (hence I raised this ticket):#288

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@luislealdev@tmerlet

[8]ページ先頭

©2009-2025 Movatter.jp