Skip to content

Commit c11905f

Browse files
authored
chore: fix typo (#764) [ci skip]
1 parent 047844c commit c11905f

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* **compiler-core:** should alias name in helperString ([#743](https://github.com/vuejs/vue-next/issues/743)) ([7b987d9](https://github.com/vuejs/vue-next/commit/7b987d9450fc7befcd0946a0d53991d27ed299ec)), closes [#740](https://github.com/vuejs/vue-next/issues/740)
77
* **compiler-dom:** properly stringify class/style bindings when hoisting static strings ([1b9b235](https://github.com/vuejs/vue-next/commit/1b9b235663b75db040172d2ffbee1dd40b4db032))
88
* **reactivity:** should trigger all effects when array length is mutated ([#754](https://github.com/vuejs/vue-next/issues/754)) ([5fac655](https://github.com/vuejs/vue-next/commit/5fac65589b4455b98fd4e2f9eb3754f0acde97bb))
9-
* **sfc:** inherit parent scopeId on child rooot ([#756](https://github.com/vuejs/vue-next/issues/756)) ([9547c2b](https://github.com/vuejs/vue-next/commit/9547c2b93d6d8f469314cfe055960746a3e3acbe))
9+
* **sfc:** inherit parent scopeId on child root ([#756](https://github.com/vuejs/vue-next/issues/756)) ([9547c2b](https://github.com/vuejs/vue-next/commit/9547c2b93d6d8f469314cfe055960746a3e3acbe))
1010
* **types:** improve ref typing, close [#759](https://github.com/vuejs/vue-next/issues/759) ([627b9df](https://github.com/vuejs/vue-next/commit/627b9df4a293ae18071009d9cac7a5e995d40716))
1111
* **types:** update setup binding unwrap types for 6b10f0c ([a840e7d](https://github.com/vuejs/vue-next/commit/a840e7ddf0b470b5da27b7b2b8b5fcf39a7197a2)), closes [#738](https://github.com/vuejs/vue-next/issues/738)
1212

@@ -44,10 +44,10 @@
4444
instead of moving it (see #737).
4545

4646
Ensuring correct behavior for all possible Array methods while
47-
retaining the ref unwrapping behavior is exceedinly complicated; In
47+
retaining the ref unwrapping behavior is exceedingly complicated; In
4848
addition, even if Vue handles the built-in methods internally, it
4949
would still break when the user attempts to use a 3rd party utility
50-
functioon (e.g. lodash) on a reactive array containing refs.
50+
function (e.g. lodash) on a reactive array containing refs.
5151

5252
After this commit, similar to other collection types like Map and
5353
Set, Arrays will no longer automatically unwrap contained refs.
@@ -145,7 +145,7 @@
145145
behaves exactly the same as 2.x.
146146

147147
- When using the effect signature or `{ immediate: true }`, the
148-
intital execution is now performed synchronously instead of
148+
initial execution is now performed synchronously instead of
149149
deferred until the component is mounted. This is necessary for
150150
certain use cases to work properly with `async setup()` and
151151
Suspense.

packages/compiler-core/src/transforms/hoistStatic.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ export function isStaticNode(
126126
return false
127127
}
128128
}
129-
// only svg/foeignObject could be block here, however if they are static
129+
// only svg/foreignObject could be block here, however if they are static
130130
// then they don't need to be blocks since there will be no nested
131-
// udpates.
131+
// updates.
132132
if (codegenNode.isBlock) {
133133
codegenNode.isBlock = false
134134
}

packages/runtime-core/src/renderer.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export interface RendererInternals<HostNode = any, HostElement = any> {
128128
c: ProcessTextOrCommentFn<HostNode, HostElement>
129129
}
130130

131-
// These functions are created inside a closure and therefore there types cannot
131+
// These functions are created inside a closure and therefore their types cannot
132132
// be directly exported. In order to avoid maintaining function signatures in
133133
// two places, we declare them once here and use them inside the closure.
134134
type PatchFn<HostNode, HostElement> = (
@@ -651,7 +651,6 @@ function baseCreateRenderer<
651651
// generated by the compiler and can take the fast path.
652652
// in this path old node and new node are guaranteed to have the same shape
653653
// (i.e. at the exact same position in the source template)
654-
655654
if (patchFlag & PatchFlags.FULL_PROPS) {
656655
// element props contain dynamic keys, full diff needed
657656
patchProps(

packages/shared/src/patchFlags.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const enum PatchFlags {
5555

5656
// Indicates an element that only needs non-props patching, e.g. ref or
5757
// directives (onVnodeXXX hooks). since every patched vnode checks for refs
58-
// and onVnodeXXX hooks, itt simply marks the vnode so that a parent block
58+
// and onVnodeXXX hooks, it simply marks the vnode so that a parent block
5959
// will track it.
6060
NEED_PATCH = 1 << 9,
6161

0 commit comments

Comments
 (0)