Recombine split JSX lines #1583
Labels
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
status:needs discussion
Issues needing discussion and a decision to be made before action can be taken
With #1120 we now split JSX text across multiple lines when it gets too long to fit on a single line.
It would be nice to investigate whether we could automatically recombine split lines when they can fit on a single line (as mentioned in #1120 (comment)).
For example:
Would become:
Doing this would be a major change from our current JSX behaviour where we always retain newlines in the source. I've opened this issue to discuss whether we want to make this change and if so how we would like it to behave.
The text was updated successfully, but these errors were encountered: