MCPcopy Create free account
hub / github.com/TruthHun/BookStack / sameVnode

Function sameVnode

static/vuejs/vue.common.js:4528–4536  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4526}
4527
4528function sameVnode (a, b) {
4529 return (
4530 a.key === b.key &&
4531 a.tag === b.tag &&
4532 a.isComment === b.isComment &&
4533 isDef(a.data) === isDef(b.data) &&
4534 sameInputType(a, b)
4535 )
4536}
4537
4538// Some browsers do not support dynamically changing type for <input>
4539// so they need to be treated as different nodes

Callers 2

updateChildrenFunction · 0.70
createPatchFunctionFunction · 0.70

Calls 2

isDefFunction · 0.70
sameInputTypeFunction · 0.70

Tested by

no test coverage detected