3 ms·
Is there a bug in the trivial example? I can't seem to follow how it's referencing one template and another in the function. But I am not a JS dev so perhaps I
by gigatexal 6y ago
Is there a bug in the trivial example? I can't seem to follow how it's referencing one template and another in the function. But I am not a JS dev so perhaps I am just missing something.
This looks neat tho.
- daliwali 6y agothe root template references the other one with data-template=“#countbox”. this allows for composition and re-use of templates.