Check for empty string in JSX
<p>Is there a way in React/JSX to check if a user's input string is empty?</p>

<p>Component.js</p>

<pre><code>{((this.props.description.name ==" ")||(this.props.description.name.length==""))? 
</code></pre>

<p>This condition works when a user inputs nothing or an empty string that is 1 space long, but if the empty string is more than 1 space long it fails. Is there a trick with JSX to check this or should I handle this in my reducer?</p>