TanStackT
TanStack14mo ago
2 replies
developed-pink

Dynamic breadcrumbs

How can I create dynamic breadcrumbs? I’m trying to use router state with matches, but it deletes the history.

E.g.: Home -> User -> Settings, but you can also reach settings from Home -> Settings.

Is this possible in a simple way? Or do I need to push/pop into a breadcrumb array which I keep in the context?
Was this page helpful?