title: Does react re-render the component if it receives the same value in state
body: <blockquote>
    <p>I am trying to check if I set the same value to state as it has previously , does it re-render the component , or if it found that value is same then it will avoid the re-rendering.</p>
  </blockquote>