import { useRouter } from 'next/router';
      
      const router = useRouter();

      Typescript language logo
      your recipe card header background
      Next useRouter router

      next
      router
      useRouter
      ...
      Next TypeScript recipes

      Next useRouter hook to access route information

      Shortcut: next.hook.router.use

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.