子龙
子龙
[beforeMutation阶段](https://react.iamkasong.com/renderer/beforeMutation.html) 就讲过,before mutation阶段在scheduleCallback中调度flushPassiveEffects 而在[layout阶段](https://react.iamkasong.com/renderer/layout.html#%E6%A6%82%E8%A7%88) 说 > 对于FunctionComponent及相关类型,他会调用useLayoutEffect hook的回调函数,调度useEffect的销毁与回调函数 光从以上两段论述中,是不是可以说 useEffect的相关回调在beforeMutation和layout两个阶段都被调用了啊 17.0.2源码我大概看了下 对应位置的代码似乎变成了: ``` case FunctionComponent: case ForwardRef: case SimpleMemoComponent: case Block: { // At this point layout effects have already...
代码 ``` javascript const events = { rendered() { setChartLoading(false); }, }; ``` 报错 
家人们有没有配置好的 我瞅瞅