How to get id from params in reactjs in a class component?

前端 未结 0 713
误落风尘
误落风尘 2021-02-03 10:33

Here is my App.js where I go to a route having id. Using this I get to AboutComponent. I want to fetch a blog based on that id but unable to get the id in that component. APP.JS

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