Replies: 1 comment 1 reply
-
If LinksFunction, or MetaFunction, let you return JSX, then it would be no way for Remix to ensure you only render links or meta tags there and not other things. Right now, by using an array of objects, it can check that those objects are correct and only put links or meta tags there. Basically, you could render a whole app as a link by allowing JSX. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently meta and link export functions return an array with objects that describe the meta and link tags for the head of the document:
Wouldn't it be nicer if these function would return the jsx instead of the javascript objects for these elements?
Beta Was this translation helpful? Give feedback.
All reactions