chore: typo and grammar (#8568) [ci skip]

Co-authored-by: Han <phamvanhan@gmail.com>
This commit is contained in:
Ha Pam 2023-11-10 12:42:26 +07:00 committed by GitHub
parent 3b3bcd4e79
commit 341b5416b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1063,7 +1063,7 @@ function parseTextData(
) {
return rawText
} else {
// DATA or RCDATA containing "&"". Entity decoding required.
// DATA or RCDATA containing "&". Entity decoding is required.
return context.options.decodeEntities(
rawText,
mode === TextModes.ATTRIBUTE_VALUE

View File

@ -72,7 +72,7 @@ export function compile(
// reusing core v-bind
bind: transformBind,
on: transformOn,
// model and show has dedicated SSR handling
// model and show have dedicated SSR handling
model: ssrTransformModel,
show: ssrTransformShow,
// the following are ignored during SSR

View File

@ -586,8 +586,8 @@ function _createVNode(
if (__DEV__ && shapeFlag & ShapeFlags.STATEFUL_COMPONENT && isProxy(type)) {
type = toRaw(type)
warn(
`Vue received a Component which was made a reactive object. This can ` +
`lead to unnecessary performance overhead, and should be avoided by ` +
`Vue received a Component that was made a reactive object. This can ` +
`lead to unnecessary performance overhead and should be avoided by ` +
`marking the component with \`markRaw\` or using \`shallowRef\` ` +
`instead of \`ref\`.`,
`\nComponent that was made reactive: `,