Skip to content

idea : support object literal property value shorthand in jsx syntax #2536

Closed
@bloodyowl

Description

@bloodyowl

the idea would be to be able to do :

{this.state.list.map((item, key) => <MyComponent {item, key} />)}

what would you think of it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions