读react fiber随想

2020-10-26  本文已影响0人  一月刀

fiber就是用链表的形式去表示了整个react virtual DOM树. 是之前递归栈形式的另外一种表达.

以实现目的:

> break rendering work into incremental units

原文: https://indepth.dev/the-how-and-why-on-reacts-usage-of-linked-list-in-fiber-to-walk-the-components-tree/

上一篇 下一篇

猜你喜欢

热点阅读