title: How bad is it to change the DOM in react?
body: <p>I'm a noob react developer, and I'm currently building a MERN App.</p>
  <p>My question to the community is, in my project I had to modify the DOM multiple times as shown below:</p>
  <pre class="lang-js prettyprint-override"><code>document.getElementsByTagName('body')[0].style = 'overflow: hidden';
  </code></pre>
  <p>I know that changing the DOM very often is not recommended in React.Js. So is it ok if I did it only to cut the body's scroll-bar?</p>