7kms / react-illustration-series

图解react源码, 用大量配图的方式, 致力于将react原理表述清楚.
http://7km.top/
GNU Affero General Public License v3.0
7.5k stars 804 forks source link

启动过程的legacy模式的源码说明中,有一段互相冲突的地方 #43

Closed thomas-void0 closed 2 years ago

thomas-void0 commented 2 years ago

如下两张图所示: 1635404687(1) 在此处注释说取值是ReactDOMRoot对象,但是在下图的指针关系中,这里的取到的应该是FiberRoot 1635404721(1)

文档地址如下: https://github.com/7kms/react-illustration-series/blob/master/docs/main/bootstrap.md