ryansolid / dom-expressions

A Fine-Grained Runtime for Performant DOM Rendering
MIT License
874 stars 125 forks source link

Emit var for generated element references #287

Closed gtm-nayan closed 9 months ago

ryansolid commented 9 months ago

Not sure why this one stayed in draft but implemented it now.

gtm-nayan commented 9 months ago

intrnl had pointed out that using var inflates the gzipped size, because it's less common in the rest of the code, I was waiting till I found a way to improve that through babel