title: what is difference between componentDidMount and componentDidUpdate in react native
body: <p>I cant understand what is difference between <code>componentDidMount</code> and <code>componentDidUpdate</code></p>
  <p>I saw some counter app that use <code>setState</code> method for increasing count value inside <code>componentDidMount</code> so what if we write setState inside <code>componentDidUpdate</code>?</p>
  <p>and when should we use <code>componentDidMount</code> or <code>componentDidUpdate</code>?</p>