title: Increment Decrement In React without using state or this
body: <p><a href="https://i.stack.imgur.com/2Ys0A.png" rel="nofollow noreferrer">XML layout</a></p>
  <p>I wanted to create something similar to</p>
  <pre><code>    function up() {
          count++;
          document.querySelector(.up).innerHTML = count;
       }
  </code></pre>
  <p>In react without state or 'this'. Is it possible? if so, then how?</p>