Skip to content

Lightweight Concur.Static HTML implementation #19

Closed
@bbarker

Description

@bbarker

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions