Unverified Commit 646c9ab4 authored by Hendrik Liebau's avatar Hendrik Liebau Committed by GitHub

Disable React debug channel by default (#83552)

While dogfooding the debug channel in internal applications, we found
bugs (most likely in React) that trigger runtime errors, when the debug
channel is used to transport debug information. Those need to be
investigated and fixed first, before we can enable the feature by
default.
parent d165670e
...@@ -852,8 +852,6 @@ export interface ExperimentalConfig { ...@@ -852,8 +852,6 @@ export interface ExperimentalConfig {
/** /**
* When enabled, in dev mode, Next.js will send React's debug info through the * When enabled, in dev mode, Next.js will send React's debug info through the
* WebSocket connection, instead of including it in the main RSC payload. * WebSocket connection, instead of including it in the main RSC payload.
*
* @default true
*/ */
reactDebugChannel?: boolean reactDebugChannel?: boolean
...@@ -1634,7 +1632,7 @@ export const defaultConfig = Object.freeze({ ...@@ -1634,7 +1632,7 @@ export const defaultConfig = Object.freeze({
}, },
allowDevelopmentBuild: undefined, allowDevelopmentBuild: undefined,
reactCompiler: undefined, reactCompiler: undefined,
reactDebugChannel: true, reactDebugChannel: false,
staticGenerationRetryCount: undefined, staticGenerationRetryCount: undefined,
serverComponentsHmrCache: true, serverComponentsHmrCache: true,
staticGenerationMaxConcurrency: 8, staticGenerationMaxConcurrency: 8,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment