An open API service indexing awesome lists of open source software.

https://github.com/sunnshare/vue-source-code

Vue实现:Vue响应式原理/数组劫持/模板编译原理/虚拟DOM/nextTick/mixin/diff算法
https://github.com/sunnshare/vue-source-code

compiler component computed defineproperty dep diff mixin nexttick rollup source-code vdom vue2 watcher

Last synced: 3 months ago
JSON representation

Vue实现:Vue响应式原理/数组劫持/模板编译原理/虚拟DOM/nextTick/mixin/diff算法

Awesome Lists containing this project

README

        

# [笔记](./笔记.md)

- [x] 打包工具:rollup
- [x] 实现 Vue 响应式原理,对象属性劫持
- [x] 实现数组的函数劫持
- [x] 实现模板编译成 AST 语法树, AST 语法树转为 render 函数
- [x] render 函数生成虚拟 DOM,虚拟 DOM 转为真实 DOM
- [x] 依赖收集实现原理
- [x] nextTick 实现原理
- [x] mixin 实现原理
- [x] computed 实现原理
- [x] watch 实现原理
- [x] 实现 diff 算法
- [x] 组件实现原理