Skip to content

Commit 341b541

Browse files
phamvanhan68Han
and
Han
authored
chore: typo and grammar (#8568) [ci skip]
Co-authored-by: Han <[email protected]>
1 parent 3b3bcd4 commit 341b541

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/compiler-core/src/parse.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ function parseTextData(
10631063
) {
10641064
return rawText
10651065
} else {
1066-
// DATA or RCDATA containing "&"". Entity decoding required.
1066+
// DATA or RCDATA containing "&". Entity decoding is required.
10671067
return context.options.decodeEntities(
10681068
rawText,
10691069
mode === TextModes.ATTRIBUTE_VALUE

packages/compiler-ssr/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function compile(
7272
// reusing core v-bind
7373
bind: transformBind,
7474
on: transformOn,
75-
// model and show has dedicated SSR handling
75+
// model and show have dedicated SSR handling
7676
model: ssrTransformModel,
7777
show: ssrTransformShow,
7878
// the following are ignored during SSR

packages/runtime-core/src/vnode.ts

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

0 commit comments

Comments
 (0)