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

Use the new JSX tranform #9289

Open
jonkoops opened this issue Jun 21, 2023 · 7 comments · May be fixed by #10187
Open

Use the new JSX tranform #9289

jonkoops opened this issue Jun 21, 2023 · 7 comments · May be fixed by #10187
Assignees
Labels
DevX enhances the consumer developer experience but does not change the experience for the end-user pinned
Milestone

Comments

@jonkoops
Copy link
Contributor

The React team announced a new way to transform JSX, which yields a couple of benefits:

  • With the new transform, you can use JSX without importing React.
  • Depending on your setup, its compiled output may slightly improve the bundle size.
  • It will enable future improvements that reduce the number of concepts you need to learn React.
  • There are some performance improvements and simplifications that React.createElement does not allow.

This will also be required for future versions of React that will ship with the ECMAScript module syntax:

In addition to cleaning up unused imports, this will also help you prepare for a future major version of React (not React 17) which will support ES Modules and not have a default export.

@jonkoops jonkoops added the DevX enhances the consumer developer experience but does not change the experience for the end-user label Jun 21, 2023
@nicolethoen nicolethoen added this to the Prioritized Backlog milestone Jul 5, 2023
@stale
Copy link

stale bot commented Sep 4, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added wontfix and removed wontfix labels Sep 4, 2023
Copy link

stale bot commented Nov 4, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added wontfix and removed wontfix labels Nov 4, 2023
Copy link

stale bot commented Jan 4, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Jan 4, 2024
@jonkoops
Copy link
Contributor Author

jonkoops commented Jan 4, 2024

Bump

@stale stale bot removed the wontfix label Jan 4, 2024
Copy link

stale bot commented Mar 5, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Mar 5, 2024
@jonkoops
Copy link
Contributor Author

jonkoops commented Mar 6, 2024

Bump

@stale stale bot closed this as completed Mar 21, 2024
@jonkoops
Copy link
Contributor Author

This is still relevant, can it be re-opened?

@nicolethoen nicolethoen reopened this Mar 21, 2024
@jonkoops jonkoops linked a pull request Mar 21, 2024 that will close this issue
@tlabaj tlabaj modified the milestones: Prioritized Backlog, 2024.Q2 Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevX enhances the consumer developer experience but does not change the experience for the end-user pinned
Projects
Status: Not started
Development

Successfully merging a pull request may close this issue.

3 participants