-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
feat: support new React Compiler target option #374
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
poteto
changed the title
Support new React Compiler target option
feat: Support new React Compiler target option
Oct 10, 2024
poteto
added a commit
to facebook/react
that referenced
this pull request
Oct 10, 2024
`yarn dev` doesn't work quite correctly because of an outdated assumption in vite-plugin-react, I have a [PR open](vitejs/vite-plugin-react#374) to address. However `yarn build` and `yarn preview` does work as expected.
poteto
added a commit
to facebook/react
that referenced
this pull request
Oct 10, 2024
`yarn dev` doesn't work quite correctly because of an outdated assumption in vite-plugin-react, I have a [PR open](vitejs/vite-plugin-react#374) to address. However `yarn build` and `yarn preview` does work as expected.
poteto
added a commit
to facebook/react
that referenced
this pull request
Oct 10, 2024
`yarn dev` doesn't work quite correctly because of an outdated assumption in vite-plugin-react, I have a [PR open](vitejs/vite-plugin-react#374) to address. However `yarn build` and `yarn preview` does work as expected.
poteto
added a commit
to facebook/react
that referenced
this pull request
Oct 10, 2024
`yarn dev` doesn't work quite correctly because of an outdated assumption in vite-plugin-react, I have a [PR open](vitejs/vite-plugin-react#374) to address. However `yarn build` and `yarn preview` does work as expected.
ArnaudBarre
reviewed
Oct 10, 2024
React Compiler was updated to accept a [`target` option](facebook/react#31143) and [`runtimeModule` was removed](facebook/react#31145). vite-plugin-react will still detect `runtimeModule` for backwards compatibility.
poteto
added a commit
to facebook/react
that referenced
this pull request
Oct 10, 2024
`yarn dev` doesn't work quite correctly because of an outdated assumption in vite-plugin-react, I have a [PR open](vitejs/vite-plugin-react#374) to address. However `yarn build` and `yarn preview` does work as expected.
poteto
added a commit
to facebook/react
that referenced
this pull request
Oct 10, 2024
`yarn dev` doesn't work quite correctly because of an outdated assumption in vite-plugin-react, I have a [PR open](vitejs/vite-plugin-react#374) to address. However `yarn build` and `yarn preview` does work as expected. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31166). * #31167 * __->__ #31166 * #31165
ArnaudBarre
changed the title
feat: Support new React Compiler target option
feat: support new React Compiler target option
Oct 12, 2024
hi-ogawa
approved these changes
Oct 13, 2024
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.
Looks good!
sapphi-red
approved these changes
Oct 15, 2024
@ArnaudBarre would you mind cutting a new release? Thanks! |
Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
React Compiler was updated to accept a
target
option andruntimeModule
was removed. vite-plugin-react will still detectruntimeModule
for backwards compatibility.Description
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).