Passing Function as Prop to React Router

后端 未结 0 1745
滥情空心
滥情空心 2020-11-22 11:33

I\'m passing the setNewCurrent prop from App.js to Redirector.js. In the ComponentDidUpdate function I pass the prop this.props.setNewCurrent(); I want to set t

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