Skip to content

Conversation

@jonkoops
Copy link
Contributor

@jonkoops jonkoops commented Dec 6, 2024

Introduces the new JSX transform which removes the need to import React in every file that contains JSX. This is a change required to add support for React 19.

Also adds linting configuration to support the new transformation, including a rule to ban the default React import (import React from 'react') in favor of named imports. The linter is set up to warn for now, as a refactor will have to come over multiple subsequent PRs.

Closes #9289

@patternfly-build
Copy link
Collaborator

patternfly-build commented Dec 6, 2024

@jonkoops jonkoops force-pushed the new-jsx-transform branch 3 times, most recently from f5a566f to ebcfac4 Compare December 7, 2024 18:49
Closes patternfly#9289

Signed-off-by: Jon Koops <jonkoops@gmail.com>
@github-actions
Copy link

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

@github-actions github-actions bot added the Stale label Feb 10, 2025
@jonkoops
Copy link
Contributor Author

@mfrances17 looks like this one is being marked as stale. I believe you are picking up the related issue right now? Should we close this PR?

@mfrances17
Copy link
Contributor

@jonkoops yeah i think we can close this PR, and i'll handle it separately

@mfrances17
Copy link
Contributor

Closing this PR as it's been around for a while and is getting marked as stale. The work for using the new JSX transform will be handled in a separate upcoming PR.

@mfrances17 mfrances17 closed this Feb 10, 2025
@jonkoops
Copy link
Contributor Author

Great, feel free to ping me for a review if you need an extra set of eyes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use the new JSX tranform

3 participants