Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tills13
on Nov 27, 2023
|
parent
|
context
|
favorite
| on:
$20k bounty was claimed
eh -- this is a one-time occurrence with prettier. Subsequent changes are guaranteed to be changes-only since formatting is consistent between authors.
c-hendricks
on Nov 27, 2023
[–]
It happens often in JSX, you add one prop, which makes the line longer than the line width, which turns it into a multi line change.
It's annoying, but not a reason to throw the baby out with the bathwater.
WirelessGigabit
on Nov 27, 2023
|
parent
[–]
This isn't just a JSX problem. This is in any language that once you go over the column limit that it'll try to break it somewhere.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: