From fc5bf5cbe1cd9cf6d53b90608c84317af5dfa18f Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 30 May 2019 21:27:14 +0800 Subject: [PATCH] chore: comments --- packages/runtime-core/src/patchFlags.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/runtime-core/src/patchFlags.ts b/packages/runtime-core/src/patchFlags.ts index 0a26e80e..ff6c52ce 100644 --- a/packages/runtime-core/src/patchFlags.ts +++ b/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