Skip to content

Commit

Permalink
Improve grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwu9145 authored and Yuchao9145 committed Nov 14, 2021
1 parent a07ef7e commit bcd3002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2463,8 +2463,8 @@ export function invokeVNodeHook(
*
* #2080
* Inside keyed `template` fragment static children, if a fragment is moved,
* the children will always be moved so that need inherit el from previous nodes
* to ensure correct moved position.
* the children will always be moved. Therefore, in order to ensure correct move
* position, el should be inherited from previous nodes.
*/
export function traverseStaticChildren(n1: VNode, n2: VNode, shallow = false) {
const ch1 = n1.children
Expand Down

0 comments on commit bcd3002

Please sign in to comment.