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
Similar to how route.options.meta() already behaves it would be nice to pass the loaderData and match to the links() function as well.
For my specific use-case I want to generate a canonical link element that is rendered via the Meta component inside the head. To do this I need some data from the current match and loaderData. Those are available inside meta() but not inside links().
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
-
Similar to how
route.options.meta()
already behaves it would be nice to pass theloaderData
andmatch
to thelinks()
function as well.For my specific use-case I want to generate a
canonical
link element that is rendered via theMeta
component inside the head. To do this I need some data from the currentmatch
andloaderData
. Those are available insidemeta()
but not insidelinks()
.Beta Was this translation helpful? Give feedback.
All reactions