-
Notifications
You must be signed in to change notification settings - Fork 638
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}></>
To automatically fix deprecated marko syntax, try the marko migrate
command from the CLI.