diff --git a/packages/compiler-core/src/parse.ts b/packages/compiler-core/src/parse.ts index b72ad028b..b1b7c079c 100644 --- a/packages/compiler-core/src/parse.ts +++ b/packages/compiler-core/src/parse.ts @@ -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 diff --git a/packages/compiler-ssr/src/index.ts b/packages/compiler-ssr/src/index.ts index 1775af52b..1e5f90550 100644 --- a/packages/compiler-ssr/src/index.ts +++ b/packages/compiler-ssr/src/index.ts @@ -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 diff --git a/packages/runtime-core/src/vnode.ts b/packages/runtime-core/src/vnode.ts index 04f1150e3..a9f4a7c68 100644 --- a/packages/runtime-core/src/vnode.ts +++ b/packages/runtime-core/src/vnode.ts @@ -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: `,