Closed
Description
I'm wondering if, for pages where the DOM only needs to be modified once and not updated multiple times, if a lightweight HTML implementation that just makes use of e.g. createElement
and no other dependencies except Web.DOM
(I think), would make sense?
Maybe there aren't many people writing such static displays - but as someone writing a widget intended to be integrated into 3rd party websites, the idea is appealing. With closure compiler I have my app size down to about 300K, but this could probably take it down further.
I guess the types of DOM functions might have to be specialized somewhat to always return forall a. Widget HTML a
, since the widgets are static, they can never end and return a value.
Metadata
Metadata
Assignees
Labels
No labels