Explorar el Código

chore: comments

Evan You hace 7 años
padre
commit
fc5bf5cbe1
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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