title: Multiple React components relying on the same UseEffect() condition
body: <p>Let's say I have two React components, A and B.  Both components have a useEffect that 'listens' to the same condition (condition1, which could be a global variable, as in some React Context).  When the context variable changes, which component's useEffect() is executed first?</p>
  
  <p>Component A {
  React.useEffect(() => {
          <em>do something</em>
      }, [condition1]);
  }</p>
  
  <p>Component B {
  React.useEffect(() => {
          <em>do something else</em>
      }, [condition1]);
  }</p>