• The new useRouter hook should be imported from next/navigation and not next/router
  • The pathname string has been removed and is replaced by usePathname()
  • The query object has been removed and is replaced by useSearchParams() router.events is not currently supported.
jun 28 2024 ∞
jun 28 2024 +