]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: typo and grammar (#8568) [ci skip]
authorHa Pam <phamvanhan68@gmail.com>
Fri, 10 Nov 2023 05:42:26 +0000 (12:42 +0700)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2023 05:42:26 +0000 (13:42 +0800)
Co-authored-by: Han <phamvanhan@gmail.com>
packages/compiler-core/src/parse.ts
packages/compiler-ssr/src/index.ts
packages/runtime-core/src/vnode.ts

index b72ad028b4bad1d4c6cc84e9753f166d1297d2f2..b1b7c079cede396809bf4300e8691981f6ab4844 100644 (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
index 1775af52bfc56dc4ed26de24f5af724aade804fe..1e5f9055064906cab459c27be7d1857fcfa1f846 100644 (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
index 04f1150e346ae43a02654a94e18a006f0d357c36..a9f4a7c687251c48a5ca98610ee719027e1a545a 100644 (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: `,