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

Function sameVnode

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

Source from the content-addressed store, hash-verified

4516}
4517
4518function sameVnode (a, b) {
4519 return (
4520 a.key === b.key &&
4521 a.tag === b.tag &&
4522 a.isComment === b.isComment &&
4523 isDef(a.data) === isDef(b.data) &&
4524 sameInputType(a, b)
4525 )
4526}
4527
4528// Some browsers do not support dynamically changing type for <input>
4529// 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