DEV Community

Discussion on: Beautiful HTML-free desk-calculator app, built with just 61 lines of Javascript, framework included...

Collapse
 
efpage profile image
Eckehard

Just trying to explain the core principles.

Reducing a library to its core is appealing, as it reduces the overhead for page downloads. I just think, we should not go this way. A broad ecosystem of useful tools is very important to speed up your work. So, we should do some tree-shaking instead to get rid of the overhead. I was checking some tools like parcel.js, or even move to typescript or dart, but did not find a realy hassle-free option til now.

For really small tools like the desk calculator, we should not have such a big overhead.