Skip to content

Cross-platform HTML module #109

@robinheghan

Description

@robinheghan

Implement an API for representing HTML documents. This API should present HTML nodes as an open (not opaque) data structure. It should be possible to traverse this structure, and there should be a toString function.

It should be possible to use this API for backend rendering of HTML documents.

There should also be an API in gren-lang/browser which can take this structure and use it as the basis for a virtual-dom implementation.

In short, we wish to use the gren-lang/browser HTML module as a general purpose HTML API. The same code should make it possible to backend render HTML, use it in a virtual-dom setting, and make it possible to analyse or modify HTML at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions