Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【推荐】深入学习 vue3 源码 - 实现 mini-vue #1612

Open
cuixiaorui opened this issue Jan 22, 2021 · 0 comments
Open

【推荐】深入学习 vue3 源码 - 实现 mini-vue #1612

cuixiaorui opened this issue Jan 22, 2021 · 0 comments

Comments

@cuixiaorui
Copy link

仓库repo

推荐理由

  • 完善的 console.log ,方便用户跟进运行时流程
    image

  • 代码内包含详细的注释,方便理解
    image

mini-vue

实现最简 vue3 模型,用于深入学习 vue3

Why

当我们需要深入学习 vue3 时,我们就需要看源码来学习,但是像这种工业级别的库,源码中有很多逻辑是用于处理边缘情况或者是兼容处理逻辑,是不利于我们学习的。

我们应该关注于核心逻辑,而这个库的目的就是把 vue3 源码中最核心的逻辑剥离出来,只留下核心逻辑,以供大家学习。

How

基于 vue3 的功能点,一点一点的拆分出来。

代码命名会保持和源码中的一致,方便大家通过命名去源码中查找逻辑。

@cuixiaorui cuixiaorui changed the title 推荐深入学习 vue3 源码 - 实现 mini-vue 【推荐】深入学习 vue3 源码 - 实现 mini-vue Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants