Skip to content
Discussion options

You must be logged in to vote

How are you calling breadcrumb? Also where you call breadcrumb will affect what loader data do you get.

If you define that function in the route routes/parent/child.tsx and you call it in routes/parent.tsx the loader data should be the one on routes/parent.tsx since that's where the "component" breadcrumb is rendered.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@piotrkulpinski
Comment options

@piotrkulpinski
Comment options

@nartc
Comment options

@ilikebuttons
Comment options

@nikolailehbrink
Comment options

Answer selected by machour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants