your recipe card header background

    Next useRouter router

    0

    3

    Jose Romero

    nextrouteruseRouter•••
    Next TypeScript recipes

    Next useRouter hook to access route information

    Library: next

    Shortcut: next.hook.router.use

    import { useRouter } from 'next/router';
    
    const router = useRouter();
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.