Problem
reactStrictMode: true in next.config is recognized but not enforced — the app root is not wrapped in <React.StrictMode>.
npx vinext check even reports it:
~ reactStrictMode — config option recognized but not yet enforced; root is not wrapped in <React.StrictMode>
react.dev sets reactStrictMode: true. Under vinext the dev-time double-invoke / strict checks the project opted into are silently lost (production is unaffected — StrictMode is dev-only).
Workaround used
Wrap pages/_app.tsx's tree in <StrictMode> manually.
Suggested fix
Inject the <React.StrictMode> wrapper when reactStrictMode: true, like Next.js does.
Problem
reactStrictMode: trueinnext.configis recognized but not enforced — the app root is not wrapped in<React.StrictMode>.npx vinext checkeven reports it:react.dev sets
reactStrictMode: true. Under vinext the dev-time double-invoke / strict checks the project opted into are silently lost (production is unaffected — StrictMode is dev-only).Workaround used
Wrap
pages/_app.tsx's tree in<StrictMode>manually.Suggested fix
Inject the
<React.StrictMode>wrapper whenreactStrictMode: true, like Next.js does.