فهرست منبع

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