TanStackT
TanStack11mo ago
4 replies
faint-white

Page title based on loaderData

Hello, is there any way i can put some data into a title?

In a Route Component u would use

const employee: Employee = Route.useLoaderData();

And then - employee.name,

I want the name to be in the title using the Tanners solution with usage of a "head" function.
I am using just TanStack Router not the TanStack Start.
image.png
Was this page helpful?