createKeyToOldIdx() — vue Function Reference
Architecture documentation for the createKeyToOldIdx() function in patch.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 8a79fd0e_46ca_b056_3bc3_56040185a03e["createKeyToOldIdx()"] 0df06241_48e0_316d_48c2_6f91c7a049b1["patch.ts"] 8a79fd0e_46ca_b056_3bc3_56040185a03e -->|defined in| 0df06241_48e0_316d_48c2_6f91c7a049b1 3bb2ae4b_c366_ee68_8304_5578e138a454["createPatchFunction()"] 3bb2ae4b_c366_ee68_8304_5578e138a454 -->|calls| 8a79fd0e_46ca_b056_3bc3_56040185a03e style 8a79fd0e_46ca_b056_3bc3_56040185a03e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/vdom/patch.ts lines 56–64
function createKeyToOldIdx(children, beginIdx, endIdx) {
let i, key
const map = {}
for (i = beginIdx; i <= endIdx; ++i) {
key = children[i].key
if (isDef(key)) map[key] = i
}
return map
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does createKeyToOldIdx() do?
createKeyToOldIdx() is a function in the vue codebase, defined in src/core/vdom/patch.ts.
Where is createKeyToOldIdx() defined?
createKeyToOldIdx() is defined in src/core/vdom/patch.ts at line 56.
What calls createKeyToOldIdx()?
createKeyToOldIdx() is called by 1 function(s): createPatchFunction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free