title: why componentDidUpdate run multiple times
body: <p>I really don't understand the react life cycle. I run console.log in componentDidUpdate() and saw that it ran multiple times
  <a href="https://i.stack.imgur.com/slAdM.png" rel="nofollow noreferrer">Console showed that componentDidUpdate ran 3 times</a></p>