There are a few questions like this on SO, but they are old and outdated and solutions don't work anymore
How can I change the title of the page so I don't have the same name in the History menu?
I can't find anything in the documentation I've tried:
<Link to="/home" title="Home"/>
but it doesn't work, I was looking at the code:
export interface LinkProps
extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
reloadDocument?: boolean;
replace?: boolean;
state?: any;
to: To;
}
no title only state object.
The state is visible in the migration guide from v5 but it doesn't say what it is used for. I guess it's a history state object but it has nothing to do with title AFAIK.
Is there any way to have a title change in history? This seems that pretty common behavior for routing libraries that modify history titles.