Turbopack: add experimental React compiler support#94573
Merged
Conversation
Contributor
Tests PassedCommit: da112af |
Contributor
Stats cancelledCommit: da112af |
aa6d39f to
547b417
Compare
49766a3 to
12d0ede
Compare
547b417 to
672ead6
Compare
12d0ede to
d8c4122
Compare
672ead6 to
6ddfd08
Compare
6ddfd08 to
407f868
Compare
d8c4122 to
f670421
Compare
854dd70 to
a3652cc
Compare
f670421 to
c36493b
Compare
c12fcbc to
ff7b5a8
Compare
b1d4322 to
432795e
Compare
e246166 to
9488ad1
Compare
51e492e to
daea470
Compare
bgw
reviewed
Jun 12, 2026
4789c14 to
e57e52f
Compare
- Adds experimental.rustReactCompiler config option to the next.js config to opt in. It should be used alongside `config.reactCompiler` and errors if not set. - Only runs the compiler on client code - When enabled, runs the compiler directly on Turbopack's swc AST with no gen+reparse
e57e52f to
061fe2d
Compare
lukesandberg
approved these changes
Jun 15, 2026
This file contains hidden or 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
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.
config.reactCompilerand errors if not set.