Skip to content

bind to props by name as svelte #8178

Closed as not planned
Closed as not planned
@abumalekFayed

Description

@abumalekFayed

What problem does this feature solve?

when passing data to component as prop if it with same name as prop name it will be more prettiy if make short syntax as the following

<Component  :data />

instead of

<Component :data="data"/>

What does the proposed API look like?

when passed data name same as the prop name why we repeat the same word?

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