How to Create Breadcrumbs with Dynamic Labels That Require an API Call? #3878
Unanswered
vishal-tiwari
asked this question in
Q&A
Replies: 3 comments
-
I have this same question! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, has anyone found a solution ? I have the exact same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I just load the data with tanstack query, and have a breadcrumb component inside each route that uses that data to generate a breadcrumb, why dosnt this work for you? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What is the recommended approach to implement breadcrumbs in TanStack React Router when the labels need to be fetched from an API (e.g., fetching a category name by ID)?
How can we handle async data fetching efficiently for breadcrumbs?
Should we use loaders, context, or another approach?
How can we avoid unnecessary API calls and ensure a smooth user experience?
Would love to hear recommendations!
Beta Was this translation helpful? Give feedback.
All reactions