Replies: 1 comment
-
You can use the MetaFunction to render links that depends on data or the url. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I implemented alternate href links in a
root.jsx
file like that:it renders the links like it's supposed to, but the problem is if I navigate to another page - the alt links will stay the same because root loader executes once.
How do I properly render them for all pages?
Am I supposed to do something like that in each route or is it possible to use some kind of hook or something similar?
Beta Was this translation helpful? Give feedback.
All reactions