Why useEffect hook doesn't set a new setInterval for each render?

前端 未结 0 561
余生分开走
余生分开走 2020-11-28 03:04

I understand that useEffect() hook replaces componentDidUpdate(), componentDidMount(), componentWillUnmount() so it gets called in place of each of those 3 methods.

S

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