A custom React hook to retrieve placeholder path in Next.js App Router. An alternative to router.pathname.
-
Updated
Oct 22, 2024 - TypeScript
A custom React hook to retrieve placeholder path in Next.js App Router. An alternative to router.pathname.
Add a description, image, and links to the placeholder-path topic page so that developers can more easily learn about it.
To associate your repository with the placeholder-path topic, visit your repo's landing page and select "manage topics."