Skip to content

Commit fd55399

Browse files
Bryce Johnsonyyx990803
Bryce Johnson
authored andcommitted
Specify that tags with side-effects will not be parsed. (#4525)
1 parent be9210f commit fd55399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/compiler/parser/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function parse (
9191
process.env.NODE_ENV !== 'production' && warn(
9292
'Templates should only be responsible for mapping the state to the ' +
9393
'UI. Avoid placing tags with side-effects in your templates, such as ' +
94-
`<${tag}>.`
94+
`<${tag}>` + ', as they will not be parsed.'
9595
)
9696
}
9797

0 commit comments

Comments
 (0)