chore: comments

This commit is contained in:
Evan You 2019-05-30 21:27:14 +08:00
parent 5abada5ed1
commit fc5bf5cbe1

View File

@ -9,6 +9,9 @@
// //
// const flag = TEXT | CLASS // const flag = TEXT | CLASS
// if (flag & TEXT) { ... } // 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) // Indicates an element with dynamic textContent (children fast path)
export const TEXT = 1 export const TEXT = 1