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

Function sameVnode

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

Source from the content-addressed store, hash-verified

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