title: Is it possible to only run useEffect on props change, but not state change?
body: <p>as the title suggests, I'm trying to make a useEffect only run on props change, but not if I change state (or specifically it should not run when I run useState).</p>
  
  <p>The reason for this, is that I have user inputs, that defaults to an input stored in a database, but is fetched on mount, but CAN change if props change.</p>
  
  <pre><code>useEffect(() =&gt; {
    let userTags = [];
    props.question.tagVotes.forEach((tagVote) =&gt; {
      if (_.includes(tagVote.users, props.user.username)) {
        userTags.push(tagVote.tag);
      }
    });
  
    setChosenTags(userTags);
  });
  </code></pre>
  
  <p>Is it possible? Thanks.</p>