T
TanStack17mo ago
ratty-blush

Meta Prop For Title

Does the router automatically set the document title using the Meta prop on a route? I set the title in the meta function, but it's not changing the title on the tab in the browser. This feature was mentioned here: https://github.com/TanStack/router/discussions/895#discussioncomment-9064913 But looking through the Tanstack website (the screenshot), I couldn't figure out how exactly it works. I'm using this in a SPA, but I'm not sure if that detail matters.
GitHub
Modifying the Router Context with data from loader · TanStack route...
Hi all, is it somehow possible to add information to a Router Context from data fetched in a loader ? For example to build a breadcrumb trail from the contexts (as in the example), it would be help...
No description
No description
No description
No description
2 Replies
fair-rose
fair-rose17mo ago
Wrong forum
ratty-blush
ratty-blushOP17mo ago
Whoops, my bad I can't believe I didn't spot the difference

Did you find this page helpful?