Browse Source

chore: comments

Evan You 7 years ago
parent
commit
fc5bf5cbe1
1 changed files with 3 additions and 0 deletions
  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