Link to the code that reproduces this issue
inkeep/agents#3016
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: standalone
Which 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
Link to the code that reproduces this issue
inkeep/agents#3016
To Reproduce
try to set
validateNoImpureFunctionsInRender: truein next.configCurrent vs. Expected behavior
Currently it's possible to configure only
compilationModeandpanicThresholdoptions inreactCompiler, I wasn't able to turn invalidateNoImpureFunctionsInRenderwhich is turn in in React compiler playgroundProvide 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