소스 검색

chore: update comment

daiwei 10 달 전
부모
커밋
2cd5cf52c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/runtime-vapor/src/apiCreateIf.ts

+ 1 - 1
packages/runtime-vapor/src/apiCreateIf.ts

@@ -35,7 +35,7 @@ export function createIf(
   } else {
     // if _insertionAnchor is defined, insertionParent contains a static node
     // that should be skipped during hydration.
-    // Advance to the next sibling node to bypass this static node.
+    // Advance to the next sibling node of parent to skip the static node.
     if (_insertionAnchor !== undefined) {
       advanceHydrationNode(_insertionParent!)
     }