3 ms·
What you are criticizing is (the fashion of) the example app there, not the functionality or interface of the framework itself. The lemonade.element function j
by montroser 5y ago
What you are criticizing is (the fashion of) the example app there, not the functionality or interface of the framework itself.
The lemonade.element function just wants a template and an object with some methods. Whether you use ES6 classes or proxies, or ES3 constructor functions with prototypical inheritance, or object literals to define that object is a matter of taste, and it is all up to you.