We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16cd4e5 commit b8891ecCopy full SHA for b8891ec
packages/runtime-core/src/components/KeepAlive.ts
@@ -31,7 +31,6 @@ import {
31
invokeArrayFns
32
} from '@vue/shared'
33
import { watch } from '../apiWatch'
34
-import { hmrDirtyComponents } from '../hmr'
35
import {
36
RendererInternals,
37
queuePostRenderEffect,
@@ -281,8 +280,7 @@ const KeepAliveImpl: ComponentOptions = {
281
280
282
if (
283
(include && (!name || !matches(include, name))) ||
284
- (exclude && name && matches(exclude, name)) ||
285
- (__DEV__ && hmrDirtyComponents.has(comp))
+ (exclude && name && matches(exclude, name))
286
) {
287
current = vnode
288
return rawVNode
0 commit comments