📌  相关文章
📜  反应路由器挂钩 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:23.154000             🧑  作者: Mango

代码示例2
import { useRouteMatch } from "react-router-dom";

function BlogPost() {
  let match = useRouteMatch("/blog/:slug");

  // Do whatever you want with the match...
  return 
; }