MCPcopy Index your code
hub / github.com/TruthHun/BookStack / sameVnode

Function sameVnode

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

Source from the content-addressed store, hash-verified

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