You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Team, I think there is not a way to set the metadata for a route using react-router-dom inside react app? Can we think there will be this feature in react router?
Like:
const infomartion = {
title: 'PageName',
description:'This is the page that you want to see by going to the mentioned path',
...otherinfo
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Team, I think there is not a way to set the metadata for a route using react-router-dom inside react app? Can we think there will be this feature in react router?
Like:
<Route path='pagename' metadata={infomartion} element={ReactNode} ...otherstuff />
Beta Was this translation helpful? Give feedback.
All reactions