瀏覽代碼

chore: comments

Evan You 7 年之前
父節點
當前提交
fc5bf5cbe1
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/runtime-core/src/patchFlags.ts

+ 3 - 0
packages/runtime-core/src/patchFlags.ts

@@ -9,6 +9,9 @@
 //
 //   const flag = TEXT | CLASS
 //   if (flag & TEXT) { ... }
+//
+// Check the `patchElement` function in './createRednerer.ts' to see how the
+// flags are handled during diff.
 
 // Indicates an element with dynamic textContent (children fast path)
 export const TEXT = 1