Diff算法解决的问题 众所周知,由于历史原因和浏览器资源问题[^1],操作Dom是一个耗时操作,React这样的类库提出了Virtual Dom的解决方案,操作和对比Virtual Dom性能会比传统的DOM操作和对比性能上要好的多。 延伸之后,如何实现Virtual Dom的节点之间的对比算法和数据结构就成了主要问题,这其中又分了算法派和拟态派,这里只列
Stephen Cui 2020-03-26 09:17:39 Knowledge About 3 min
This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system.