Skip to content

Deprecation: partial dynamic tag

Taylor Hunt edited this page Aug 21, 2019 · 2 revisions

Partial dynamic tags (<partial-${dynamic}>) are deprecated to prefer the regular dynamic tag with string concatenation. There were limited use cases for this alternative shorthand, and it was previously undocumented.

Here’s what it looks like to move from the partial dynamic tag syntax:

<h${input.size}></>

…to a regular dynamic tag:

<${"h" + input.size}></>