3 ms·
I'm super excited to test performance of this, but also I'm very curious about adoption. This approach to templating seems great for simple elements, but often
by jjcm 4y ago
I'm super excited to test performance of this, but also I'm very curious about adoption. This approach to templating seems great for simple elements, but often times when instantiating a custom element we also want to bind functionality into the elements of the DOM. The @ decorator is very common in many webcomponent libraries' (i.e. lit) html() function. I wonder if the tradeoff of a more declarative approach is worth it for those relying on that existing functionality.