title: Does having too much whitespace in class in html cause any problems / performance issues?
body: <p>I am assigning multiple conditional classes to an element in jsx. The line gets too long, it is not readable, so I break it into multiple lines.
  Since I am using a template literal, the whitespaces due to linebreaks are also part of the resulting string.</p>
  
  <p>The template:</p>
  
  <pre><code>&lt;span
    className={`${classes.voucherStatus} 
                ${statusTypes.ok.includes(voucherStatus) ? classes.voucherSuccessMessage : ''} 
                ${statusTypes.error.includes(voucherStatus) ? classes.voucherErrorMessage : ''}`}
  &gt;
    {voucherStatus}
  &lt;/span&gt;
  </code></pre>
  
  <p>Which will look like as rendered html:
  <a href="https://i.stack.imgur.com/3Ncze.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Ncze.png" alt="enter image description here"></a></p>
  
  <p>I think my 'solution' is more readable than the ones <a href="https://stackoverflow.com/questions/36678059/how-can-i-deal-with-a-long-classname-in-react-jsx">others have suggested</a>.</p>
  
  <p>My question is: are there any drawbacks associated with creating a class the way I did?</p>