React - Cleanest way to re-render component on array update

前端 未结 0 1331
长发绾君心
长发绾君心 2021-01-18 13:27

I\'m new using react hooks and i was struggling with the useEffect hook due to the following:

I have a simple comment board to post comments and below a list of the c

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