We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d04f5e commit b57405cCopy full SHA for b57405c
packages/reactivity/src/baseWatch.ts
@@ -123,7 +123,7 @@ export function baseWatch(
123
onTrigger,
124
scheduler = DEFAULT_SCHEDULER,
125
handleError: handleError = DEFAULT_HANDLE_ERROR,
126
- handleWarn: handleWarn = warn,
+ handleWarn: handleWarn = __DEV__ ? warn : NOOP,
127
}: BaseWatchOptions = EMPTY_OBJ,
128
): WatchInstance {
129
const warnInvalidSource = (s: unknown) => {
0 commit comments