Replies: 3 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> |
|
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. |
|
We're closing stale and outdated discussion to keep only the discussions still relevant to the current project version and/or the current docs state. This seems to be resolved now, and this can be closed! If you think this is a mistake and that this discussion should remain open, please feel free to ping me, I'll take a second look at it. Thank your for your contribution! |
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.propsin 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.propscontain the HTML elementtagproperty, which can be used to render an element polymorphically, as discussed in https://discord.com/channels/830184174198718474/830184175176122389/977974602431086632All reactions