1. 程式人生 > >vue-toy: 200行程式碼模擬Vue實現

vue-toy: 200行程式碼模擬Vue實現

# vue-toy 200行左右程式碼模擬vue實現,檢視渲染部分使用`React`來代替`Snabbdom`,歡迎Star。 專案地址:[https://github.com/bplok20010/vue-toy](https://github.com/bplok20010/vue-toy) [codesandbox示例](https://codesandbox.io/s/vibrant-williamson-66cdi?fontsize=14&hidenavigation=1&theme=dark) 已實現的引數: ```ts interface Options { el: HTMLElement | string; propsData?: Record