Removing all componentWillMount from my project, what is the replacement if my child components depend on an api response

前端 未结 0 1610
一生所求
一生所求 2020-11-29 01:41

Hopefully not an xy issue, react deprecated some lifecycle methods, we were using component will mount to make api calls in one of our parent components as the children cont

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