サクサク読めて、アプリ限定の機能も多数!
“const pathname = usePathname();”
hujuu のブックマーク 2023/04/21 14:49
Functions: usePathname | Next.js“const pathname = usePathname();”2023/04/21 14:49
このブックマークにはスターがありません。 最初のスターをつけてみよう!
nextjs.org2023/04/21
usePathnameusePathname is a Client Component hook that lets you read the current URL's pathname. 'use client' import { usePathname } from 'next/navigation' export default function ExampleClientComp...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
“const pathname = usePathname();”
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Functions: usePathname | Next.js
usePathnameusePathname is a Client Component hook that lets you read the current URL's pathname. 'use client' import { usePathname } from 'next/navigation' export default function ExampleClientComp...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /