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

虚拟dom库snabbdom源码学习 #111

Open
JesseZhao1990 opened this issue Apr 18, 2018 · 1 comment
Open

虚拟dom库snabbdom源码学习 #111

JesseZhao1990 opened this issue Apr 18, 2018 · 1 comment

Comments

@JesseZhao1990
Copy link
Owner

由于vue2中的虚拟dom是基于snabbdom,在看vue源码中的patch吃力的时候不妨先看看snabbdom,snabbdom没有vue中的其他逻辑,代码量更少,更容易弄懂

https://github.com/snabbdom/snabbdom

@JesseZhao1990
Copy link
Owner Author

读源码之前先了解一下snabbdom的用法

https://codepen.io/pen/?editors=1010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant