Skip to content

Let template syntax use single curly braces instead of double #7224

@bomzj

Description

@bomzj

What problem does this feature solve?

Let's improve template syntax by using single curly braces like in Svelte/React instead of the "Mustache" syntax (double curly braces).

Current syntax

<h1>Hello {{ username }} !</h1>

What does the proposed API look like?

New syntax

<h1>Hello { username } !</h1>

Much cleaner, less chars, better DX!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions