2 ms·
No, you don't need to do anything at build time! (You don't even have to have a build time.) You can just… instantiate a template, remembering where the "holes
by floatboth 7y ago
No, you don't need to do anything at build time! (You don't even have to have a build time.)
You can just… instantiate a template, remembering where the "holes" are, to get precise update functions for every data field that gets inserted into the template. This is what lit-html does, and it's such an obvious approach I'm really surprised that VDOM took off before it.
https://lit-element.polymer-project.org https://lit-element.polymer-project.org