Vue3.x的个人实现版,旨在学习vue/core的核心原理,同时实践TDD的编程范式
-
- effect 主流程
- reactive 主流程
- trigger & track
- effect -> runner
- effect -> stop
- readonly
- isReactive & isReadonly
- nested reactive & readonly
- shallowReadonly
- isProxy
- ref & isRef & unRef & proxyRefs
- computed
-
component/element init
- component instance
- element renderer
- component proxy
- shapeFlags
- event handler
- props & emit
- slots
- Fragment & Text
- getCurrentInstance
- provide & inject
- Custom Renderer API
component/element update
- update props
- update children
- update children (diff)
- update component
- nextTick
-
- 解析插值
- 解析 element
- 解析 text
- 解析三种联合类型
- parse
- transform
- 生成string类型
- 生成插值类型
- 生成三种联合类型
- 编译template
-
- reactivity
- runtime/core
- compiler
-
- rollup打包
- typescript支持