-
Notifications
You must be signed in to change notification settings - Fork 30.8k
Allow passing more options in reactCompiler #92365
Copy link
Copy link
Open
Labels
ReactRelated to React.Related to React.
Description
Link to the code that reproduces this issue
To Reproduce
try to set validateNoImpureFunctionsInRender: true in next.config
Current vs. Expected behavior
Currently it's possible to configure only compilationMode and panicThreshold options in reactCompiler, I wasn't able to turn in validateNoImpureFunctionsInRender which is turn in in React compiler playground
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 24.2.0: Fri Dec 6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020
Available memory (MB): 98304
Available CPU cores: 12
Binaries:
Node: 22.21.1
npm: 10.9.4
Yarn: N/A
pnpm: 10.33.0
Relevant Packages:
next: 16.2.2 // Latest available version is detected (16.2.2).
eslint-config-next: N/A
react: 19.2.4
react-dom: 19.2.4
typescript: N/A
Next.js Config:
output: standaloneWhich area(s) are affected? (Select all that apply)
React
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ReactRelated to React.Related to React.