Closed nicketson closed 3 years ago
Can you be more more specific on where you mean by "here"?
You will probably think this is silly but just avoided having extra escape characters around attribute quotes. I haven't witnessed any perf issues with template literals (tagged template literals is another thing). Although to be fair I only ever tested this with interpolation so it is possible simple string creation is different but it reads nicer and is fewer characters.
Is there a reason that template literals are generated here instead of regular strings? Unless I am missing something there are never any expressions in the strings.