use loaderData in Links function, similar to Meta function #4366
Replies: 2 comments 1 reply
-
The The You can use Remix Utils's DynamicLinks to create links based on your route data. |
Beta Was this translation helpful? Give feedback.
-
Seems like the DynamicLinks solution doesn't exist anymore |
Beta Was this translation helpful? Give feedback.
-
i noticed that the meta function now receives loaderData from the route - amazing change. is this also possible to implement for the links function? for example, i would like to be able to dynamically set a favicon url from loaderData
Working Meta function:
Requested Links function:
Beta Was this translation helpful? Give feedback.
All reactions