We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e223f1 commit d33292dCopy full SHA for d33292d
packages/runtime-core/src/warning.ts
@@ -31,6 +31,8 @@ export function popWarningContext() {
31
}
32
33
export function warn(msg: string, ...args: any[]) {
34
+ if (!__DEV__) return
35
+
36
// avoid props formatting or warn handler tracking deps that might be mutated
37
// during patch, leading to infinite recursion.
38
pauseTracking()
0 commit comments