摘要: export function diff(oldCh, newCh) { let oldStartIndex = 0; let newStartIndex = 0; let oldEndIndex = oldCh.length - 1; let oldStartVnode = oldCh[0]; l 阅读全文
posted @ 2024-03-15 16:27 -桃之夭夭 阅读(5) 评论(0) 推荐(0) 编辑
摘要: // https://github.com/vuejs/core/tree/main/packages/runtime-core/src/renderer.ts // https://github.com/vuejs/core/tree/main//packages/runtime-test/src 阅读全文
posted @ 2024-03-15 16:26 -桃之夭夭 阅读(21) 评论(0) 推荐(0) 编辑