4 ms·
That, or a prettier-ignore comment above the JSX tag. I find your solution more elegant, though. My two cents: Write the comment's purpose inside it. "// Comme
by vages 6y ago
That, or a prettier-ignore comment above the JSX tag. I find your solution more elegant, though.
My two cents: Write the comment's purpose inside it.
"// Comment inserted to force prettier line break until more attributes are added"
- waheoo 6y agoIm talking about adding an attribute in the next 5 minutes, no, im not going to add a comment, or an ignore line while im editing a component. Those are really awful work arounds to a man made problem.