Calling a props function from constructor vs componentDidMount?

后端 未结 0 1865
梦如初夏
梦如初夏 2020-12-18 13:06

In my react component, there is a function in props that I want to call at the time of component rendering which can be called from either constructor or componentDidMount()

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