qianL93
Results
2
comments of
qianL93
It is a confusing scene for `useRef`. `ref` should never rerun effect or render when ref.current changed. So, you can solve it by moving these hooks inside a new sub-component....
这里构造函数返回null的时候,new返回的是obj,不是ret