title: why would react not render conditionally
body: <p>So i have an issue while trying to render this list, item.cars, item.yachts and item.villas are numbers, what could be the reason for this not showing absolutely anything?</p>
  
  <pre><code>const renderItems = (locations) =&gt; {
  &lt;div className={styles.list}&gt;
    {locations.map((item) =&gt; {
      if (item.cars != 0 || item.yachts != 0 || item.villas != 0)
        return (
          &lt;DestinationItem
            id={item.id}
            image={Image[item.id]}
            name={item.name}
            subtitle={item.description}
            description={DESTINATIONS_DESCRIPTION[item.id]}
          /&gt;
        );
      return null;
    })}
  &lt;/div&gt;;
  };
  </code></pre>
  
  <p>this is an item in locations object</p>
  
  <pre><code>cars: 0
  description: "(Miami, Palm Beach, Broward)"
  id: 3
  name: "South Florida"
  photo: "http://l.amazonaws.com/areaphotos/Audi_R8_a.jpg"
  villas: 69
  yachts: 53
  __proto__: Object
  </code></pre>
  
  <p>this is the whole component code:</p>
  
  <pre><code>const Destinations = locations =&gt; {
   const renderItems = (locations) =&gt; {
    &lt;div className={styles.list}&gt;
    {locations.map(
      (item) =&gt;
        (item.cars != 0 || item.yachts != 0 || item.villas != 0) &amp;&amp; (
          &lt;DestinationItem
            id={item.id}
            key={item.id}
            image={Image[item.id]}
            name={item.name}
            subtitle={item.description}
            description={DESTINATIONS_DESCRIPTION[item.id]}
          /&gt;
        )
    )}
  &lt;/div&gt;;
  
  console.log(locations, 'data');
  return (
    &lt;div className={styles.mainContainer}&gt;
      &lt;div className={styles.title}&gt;
        &lt;h1&gt;Pick Your Destination&lt;/h1&gt;
          &lt;/div&gt;
          {renderItems(locations)}
        &lt;/div&gt;
      );
    };
  };
  
  export default Destinations;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Pm9Ip.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pm9Ip.jpg" alt="enter image description here"></a></p>