Skip to content

Templating HTML in JavaScript #21

Description

@jonsmithers

MustacheJS is a simple 9KB templating system. Might be worth pulling in to avoid crazy string concatenations.

Edit: HandlebarsJS can be precompiled. Maybe that will allow for a small download size.

Edit: VueJS can also be precompiled at a small size!!

The template-to-virtual-DOM compiler and the runtime can be separated, so you can pre-compile templates and ship your app with only the runtime, which is less than 12kb min+gzip (as a reference, React 15 is 44kb min+gzip)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions