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

vue中的diff算法实现 | Isaac Kam's Blog #303

Open
utterances-bot opened this issue Feb 18, 2023 · 2 comments
Open

vue中的diff算法实现 | Isaac Kam's Blog #303

utterances-bot opened this issue Feb 18, 2023 · 2 comments

Comments

@utterances-bot
Copy link

vue中的diff算法实现 | Isaac Kam's Blog

大纲 前言 diff算法是什么 1.新头与旧头垂直对比 2.新尾与旧尾垂直对比 3.新尾与旧头交叉对比 4.新头与旧尾交叉对比 5.当前新vnode与旧头尾之间的vnode对比 -1.跳过左边已经复用的vnode 0.跳过右边已经复用的vnode while中的控制流顺序 while之外 新旧vnode与真实元素elm的关系 附录 sameVnode的功能与实

https://isaaxite.github.io/blog/2019/12/26/vue%E4%B8%AD%E7%9A%84diff%E7%AE%97%E6%B3%95%E5%AE%9E%E7%8E%B0/

Copy link
Owner

不愧是我

Copy link

不错哦

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

3 participants