5

奇舞周刊第 434 期

 2 years ago
source link: https://weekly.75.team/issue434.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

手写简易版 React 来彻底搞懂 fiber 架构

React 16 之前和之后最大的区别就是 16 引入了 fiber,又基于 fiber 实现了 hooks。整天都提 fiber,那 fiber 到底是啥?它和 vdom 是什么关系?与其看各种解释,不如手写一个 fiber 版 React,当你能实现的时候,一定是彻底理解了。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK