Skip to content

Commit 5eb7263

Browse files
authored
fix(runtime-core): add v-memo to built-in directives check (#4787)
1 parent 7bb9dd0 commit 5eb7263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/directives.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export type Directive<T = any, V = any> =
6464
export type DirectiveModifiers = Record<string, boolean>
6565

6666
const isBuiltInDirective = /*#__PURE__*/ makeMap(
67-
'bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text'
67+
'bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo'
6868
)
6969

7070
export function validateDirectiveName(name: string) {

0 commit comments

Comments
 (0)