You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# React 源码的碎片记录
|
|
|
|
- 每一个 Fiber 节点都会链接它的第一个子节点、下一个兄弟节点和父节点,并且在 Fiber 节点中还会保存组件的状态和需要更新的副作用
|
|
|
|
- Reconciler 会从根节点一直向下递到子节点,再从子节点一路向上归到根节点
|
|
|
|
- Fibet 中的 tag 属性保存了组建的类型
|