[Compiler Bug]: healthcheck do not check next.js StrictMode #30049
Labels
Component: Optimizing Compiler
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
Type: Bug
What kind of issue is this?
Link to repro
https://github.com/coleea/bug-report-next15-server-action
Repro steps
just run command
npx react-compiler-healthcheck@latest
.then, react-compiler-healthcheck does not check StrictMode even though Next.js is actually StrictMode.
Next.js is StrictMode by default under these two conditions are met
You can check this : https://rc.nextjs.org/docs/app/api-reference/next-config-js/reactStrictMode
So, It needs extra three steps to check whether StrictMode or Not.
reactStrictMode: false
is not set.If three conditions are met, this project is based on StrictMode even though
reactStrictMode: true
is not set onnext.config.mjs
file.How often does this bug happen?
Every time
What version of React are you using?
19.0.0-rc.0
The text was updated successfully, but these errors were encountered: