Why does React official documentation compare useEffect with componentDidMount and componentDidUpdate?

后端 未结 0 2008
灰色年华
灰色年华 2020-12-04 06:40

In the official React useEffect documentation, useEffect is compared with componentDidMount and componentDidUpdate like this:

<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题