Why does my app keep getting re-rendered if i remove the useEffect()?

前端 未结 0 1453
抹茶落季
抹茶落季 2020-12-21 06:35

If I remove the useEffect my app keeps getting rendered and I end up getting the infinite re-renders error. I would like to understand the reason for it.

  co         


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