Module
Locale-aware wrappers around Next.js navigation APIs. Always import these (Link, redirect, usePathname, useRouter, getPathname) instead of the bare next/link and next/navigation exports — they automatically preserve the active locale in the URL.
Link
redirect
usePathname
useRouter
getPathname
next/link
next/navigation
Locale-aware wrappers around Next.js navigation APIs. Always import these (
Link,redirect,usePathname,useRouter,getPathname) instead of the barenext/linkandnext/navigationexports — they automatically preserve the active locale in the URL.