Replies: 2 comments 1 reply
-
Great idea! We should definitely include About dynamic tag rendering: there's nothing “special” about a ---
const El = 'div'
---
<El>Hello!</El> |
Beta Was this translation helpful? Give feedback.
-
This does seem like a huge ommision, since it's something EVERYBODY uses! Great call, @ekafyi ! I think this rises to the level of "Issue", if you'd like to make one so it gets on the task list. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be a good idea to add an entry for
Astro.props
in https://docs.astro.build/en/reference/api-reference ?While it has been briefly addressed in https://docs.astro.build/en/reference/api-reference/#data-passing-with-props, people may not know that eg.
Astro.props
contain the HTML elementtag
property, which can be used to render an element polymorphically, as discussed in https://discord.com/channels/830184174198718474/830184175176122389/977974602431086632Beta Was this translation helpful? Give feedback.
All reactions