This demo shows how to implement dynamic breadcrumbs in TanStack Start that properly update after mutations using router.invalidate()
crumb property in its loaderBreadcrumbNav component uses useMatches() to get all matched routesloaderData.crumb using isMatch()router.invalidate() re-runs loadersuseMatches() is reactiveNavigate to an organization, then to an employee. Edit their name and watch the breadcrumb update instantly!
View Organizations