From: Evan You Date: Thu, 30 May 2019 13:27:14 +0000 (+0800) Subject: chore: comments X-Git-Tag: v3.0.0-alpha.0~970 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc5bf5cbe1cd9cf6d53b90608c84317af5dfa18f;p=thirdparty%2Fvuejs%2Fcore.git chore: comments --- diff --git a/packages/runtime-core/src/patchFlags.ts b/packages/runtime-core/src/patchFlags.ts index 0a26e80eb3..ff6c52ce7d 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