title: Is there a way to tell if ReactElement renders "null"?
body: <p>In my JSX, I have a case of a conditional rendering logic - when element A renders something (it's <code>render()</code> function returns something other than <code>null</code>), then also render element B, just above the element A.</p>
  
  <p>Code example (simplified) would look like this:</p>
  
  <pre><code>function render() {
      let elemA = (&lt;ElementA someProp={this.someVar} /&gt;);
  
      if (elemA.isNull()) {
          return (
              &lt;div&gt;
                  { ...someElements }
              &lt;/div&gt;
          );
      }
  
      return (
          &lt;div&gt;
              { ...someElements }
              &lt;ElementB /&gt;
              { elemA }
          &lt;/div&gt;
      );
  }
  </code></pre>
  
  <p><strong>So my question is</strong> - Is there any way to have the <code>elemA.isNull()</code> check?</p>