title: Calling setState without triggering re-render
body: <p>I am storing a UI state in the React component's <code>state</code>, say <code>this.state.receivedElements</code> which is an array. I want re-renders whenever an element is pushed to <code>receivedElements</code>. My question is, can I <strong>not trigger</strong> rendering when the array becomes empty ?<br>
  Or in general, <strong>can I call <code>setState()</code> just one time without re-render</strong> while re-rendering all other times ? ( are there any options, work-arounds ? )<br>
  I've read through this thread: <a href="https://github.com/facebook/react/issues/8598" rel="nofollow noreferrer">https://github.com/facebook/react/issues/8598</a> but didn't find anything.</p>