Skip to content

Long curried function calls #1420

@adrianmcli

Description

@adrianmcli

Prettier changed this:

const ArtistInput = connect(mapStateToProps, mapDispatchToProps, mergeProps)(Component);

to this due to line-length:

const ArtistInput = connect(mapStateToProps, mapDispatchToProps, mergeProps)(
  Component
);

At this risk of making a poorly written issue, I'm actually not sure if there is a more ideal way to format this. Nevertheless, some people on my team have complained about how prettier made this line a bit uglier. Perhaps we can brainstorm a better way to represent this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:function callslocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be taken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions