genetic-orange
genetic-orange12mo ago

page title

what is the best way in a component to render the page title attribute ?
2 Replies
genetic-orange
genetic-orange12mo ago
I'm trying to use document.title but this is not consistent among page change and I also would like to get rid of detault "refine" page title
secure-lavender
secure-lavender12mo ago
Hey @dannywhiteagile You can use useDocumentTitle hook for dynamically chance the title tag. https://refine.dev/docs/packages/documentation/routers/react-router-v6/#usedocumenttitle
React Router v6 | refine
refine provides router bindings and utilities for React Router v6. It is built on top of the react-router-dom package. This package will provide easy integration between refine and react-router-dom for both existing projects and new projects.