props from parameter is giving null when set in a state but returns the proper value when called

前端 未结 0 1731
青春惊慌失措
青春惊慌失措 2021-01-20 02:14

So I am trying to set the param I get from the link to my React component. I have used this.props.match.params.course (as shown below) which actually gives the correct infor

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