App Router

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

All Clothing

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