{"id":13560307,"url":"https://github.com/Sunny-117/tiny-vue","last_synced_at":"2025-04-03T15:32:01.901Z","repository":{"id":130655526,"uuid":"601882490","full_name":"Sunny-117/tiny-vue","owner":"Sunny-117","description":"Vue 3 设计哲学与源码揭秘","archived":false,"fork":false,"pushed_at":"2025-03-14T08:22:03.000Z","size":3073,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T19:48:44.252Z","etag":null,"topics":["components","tutorial-code","vuejs"],"latest_commit_sha":null,"homepage":"https://juejin.cn/column/7391745629876830208","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sunny-117.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-15T02:50:21.000Z","updated_at":"2025-03-14T08:22:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"be0d7731-a584-497b-8b35-76e7fb8d2f7e","html_url":"https://github.com/Sunny-117/tiny-vue","commit_stats":null,"previous_names":["sunny-117/tiny-vue"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Ftiny-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Ftiny-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Ftiny-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Ftiny-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sunny-117","download_url":"https://codeload.github.com/Sunny-117/tiny-vue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247028080,"owners_count":20871644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["components","tutorial-code","vuejs"],"created_at":"2024-08-01T13:00:41.560Z","updated_at":"2025-04-03T15:31:56.880Z","avatar_url":"https://github.com/Sunny-117.png","language":"TypeScript","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# tiny-vue\n\n## Vue 3 设计哲学与源码揭秘篇\n\n![](/assets/2024-08-27-14-31-14.png)\n\n![](/assets/2024-08-27-14-31-01.png)\n\n\n## 手写 Vue 篇\n\n### Feature\n\n#### reactivity\n\n- [x] reactive 的实现\n- [x] ref 的实现\n- [x] readonly 的实现\n- [x] computed 的实现\n- [x] track 依赖收集\n- [x] trigger 触发依赖\n- [x] 支持 isReactive\n- [x] 支持嵌套 reactive\n- [x] 支持 toRaw\n- [x] 支持 effect.scheduler\n- [x] 支持 effect.stop\n- [x] 支持 isReadonly\n- [x] 支持 isProxy\n- [x] 支持 shallowReadonly\n- [x] 支持 proxyRefs\n\n#### runtime-core\n\n- [x] 支持组件类型\n- [x] 支持 element 类型\n- [x] 初始化 props\n- [x] setup 可获取 props 和 context\n- [x] 支持 component emit\n- [x] 支持 proxy\n- [x] 可以在 render 函数中获取 setup 返回的对象\n- [x] nextTick 的实现\n- [x] 支持 getCurrentInstance\n- [x] 支持 provide/inject\n- [x] 支持最基础的 slots\n- [x] 支持 Text 类型节点\n- [x] 支持 $el api\n- [x] 支持 watchEffect\n\n\n#### compiler-core\n- [x] 解析插值\n- [x] 解析 element\n- [x] 解析 text\n\n#### runtime-dom\n- [x] 支持 custom renderer \n\n#### runtime-test\n- [x] 支持测试 runtime-core 的逻辑\n\n#### infrastructure\n- [x] support monorepo with pnpm\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSunny-117%2Ftiny-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSunny-117%2Ftiny-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSunny-117%2Ftiny-vue/lists"}