You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the duplication between the var $0 and $0.raw. For the html static template helper, we never use raw (it's actually forbidden in the linter), we only use the cooked value (the first array).
So, we can do a simple build transform (for the html helper only):
Post #14623, we'll have a lot of code using the
html`<div />`
Tagged Template Literal.But, the output of TTLs is very large:
Notice the duplication between the
var $0
and$0.raw
. For thehtml
static template helper, we never useraw
(it's actually forbidden in the linter), we only use the cooked value (the first array).So, we can do a simple build transform (for the
html
helper only):The text was updated successfully, but these errors were encountered: