App Router

on
acme.com
/books/
Client Component Hooks
{
  "useSelectedLayoutSegment": "books",
  "useSelectedLayoutSegments": [
    "books"
  ]
}
children
children

All Books

Client Component Hooks
{
  "usePathname": "/hooks/books",
  "useParams": {
    "categorySlug": "books"
  },
  "useSearchParams": {},
  "useSelectedLayoutSegment": null,
  "useSelectedLayoutSegments": []
}
By
Adapted by
Adam