We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
第292天 你觉得虚拟DOM快吗?还有没有比它还快的方式?
#227
我也要出题
The text was updated successfully, but these errors were encountered:
paint worklet, layout worklet, animation worklet
特定的场景下还是这些更新快
Sorry, something went wrong.
虚拟dom是js来执行 比操作dom肯定快 当然更快的是服务端的渲染了
所谓虚拟DOM实际上就是一个js对象,通过操作更新js对象实现批量更新的效率比直接操作DOM效率更高,至于更快的方式的话只有去提高diff算法的执行效率才能达成这个目标。
虚拟dom实际上就是js的一个特定数据对象格式,增删改查后通过diff算法比对再更新对应的真实dom,然后执行js比操作真实dom更快。
No branches or pull requests
第292天 你觉得虚拟DOM快吗?还有没有比它还快的方式?
#227
我也要出题
The text was updated successfully, but these errors were encountered: