禁用 React 18 的严格模式,避免开发环境下的重复渲染和重复请求
This commit is contained in:
@@ -21,6 +21,7 @@ const nextConfig = {
|
||||
parallelServerBuildTraces: true,
|
||||
parallelServerCompiles: true,
|
||||
},
|
||||
reactStrictMode: false,
|
||||
}
|
||||
|
||||
mergeConfig(nextConfig, userConfig)
|
||||
|
||||
Reference in New Issue
Block a user