glazingdesign.com.br
/breadcrumbs/
@breadcrumbs
children

Shared server-side UI that depends on URL information

  • Typically, when you have shared UI, you'd put it inside a layout. However, layouts do not receive searchParams and params lower than their segment. This is a challenge for shared UI like breadcrumbs that depends on the URL information.
  • For simple cases, you can move the UI to Client Components and use router hooks such as usePathname and useSearchParams.
  • This example shows how to use Parallel Routes and a page.js in a catch all route to have pockets of shared UI across your app.
  • Try navigating between categories and sub categories. Notice the breadcrumbs can derive URL information.
reactBdLogo

Criatividade e compromisso: nossa receita para o sucesso.

Solicite um orçamento

(61) 9 8669-2775

ENDEREÇO: ADE Aguas claras DF

E-MAIL: contato@glazingdesign.com.br

Pague-nos com seus serviços confiáveis.

payment banner image
© 2018 – 2020 GlAZING DESIGN, VIDROS TEMPERADO. Todos Direitos Reservado.