What difference does it make if we don't perform the same side-effects after every re-render in React class component?

前端 未结 0 1172
青春惊慌失措
青春惊慌失措 2021-01-14 07:23

I came across this class component with 2 lifecycle methods handling the component\'s side-effects after each re-render:
componentDidMount and compon

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