Skip to content

Support LSX inline variables #2

@maxpowa

Description

@maxpowa

Currently, it is possible to use variables inline in LSX:

lsx('<foo bar="${baz}" />', { baz = "buzz" })

But this syntax is a little janky, since the var is wrapped with double quotes AND the variable wrapper. Should be able to just directly use the variable, like in JSX:

lsx('<foo bar={baz} />', { baz = "buzz" })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions