📜  反应路由器最后一页 - Javascript代码示例

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

代码示例1
import { useHistory } from "react-router-dom";

function demo () {
    let history = useHistory();
    const goToPreviousPath = () => {
        history.goBack()
    }
    return (
      
): }