How Exclusive

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

Phones

Client Component Hooks
{
  "usePathname": "/hooks/electronics/phones",
  "useParams": {
    "categorySlug": "electronics",
    "subCategorySlug": "phones"
  },
  "useSearchParams": {},
  "useSelectedLayoutSegment": null,
  "useSelectedLayoutSegments": []
}