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

Function sameVnode

static/vuejs/vue.esm.js:4526–4534  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4524}
4525
4526function sameVnode (a, b) {
4527 return (
4528 a.key === b.key &&
4529 a.tag === b.tag &&
4530 a.isComment === b.isComment &&
4531 isDef(a.data) === isDef(b.data) &&
4532 sameInputType(a, b)
4533 )
4534}
4535
4536// Some browsers do not support dynamically changing type for <input>
4537// 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