Evan You 7 лет назад
Родитель
Сommit
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