7kms / react-illustration-series

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

docs: add more details on commitBeforeMutationEffects #73

Closed jaluik closed 2 years ago

jaluik commented 2 years ago

I was confused about the relationship beteew those two functions : commitBeforeMutationEffectOnFiber and commitBeforeMutationLifeCycles when I read the docs .

So I hope that the docs can specity the relationship bewteen commitBeforeMutationEffectOnFiber and commitBeforeMutationLifeCycles more clearly.

7kms commented 2 years ago

ok. Maybe it is confusing expecially not contrast with the source code.