Skip to content

Compile Time Macros #2

@shadowtime2000

Description

@shadowtime2000

Currently the l function is called on runtime and generates the HTML string on the fly. I want this package to be able to be used as a way to structure writing pure HTML strings, so it may be cool to have some compile time macros which compile l() calls straight into the HTML string. We could use babel-plugin-macros or SweetJS, but I believe Sweet is no longer maintained. We could first only compile l() calls that use constants as parameters and later compile with variables too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions