Skip to content

Commit

Permalink
fix(runtime-core): add v-memo to built-in directives check (#4787)
Browse files Browse the repository at this point in the history
  • Loading branch information
emojiiii committed Oct 19, 2021
1 parent 7bb9dd0 commit 5eb7263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/directives.ts
Expand Up @@ -64,7 +64,7 @@ export type Directive<T = any, V = any> =
export type DirectiveModifiers = Record<string, boolean>

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

export function validateDirectiveName(name: string) {
Expand Down

0 comments on commit 5eb7263

Please sign in to comment.