title: Async useEffect does not execute entire body when dependency changes
body: <p>I'm trying to use useEffect with some async functions, however when the dependency in the dependency array changes, only the non async code gets called in useEffect.</p>
  <pre><code>    useEffect( async () =&gt; {
          console.log(account);
          const web3 = await getWeb3();
          const acc = await loadAcc(web3);
          await loadContract(web3, acc);
      }, [account])
  </code></pre>
  <p>When my account state variable changes, useEffect gets invoked again, but only the console.log(account) statement will get executed.</p>
  <p>How should I work around this problem?</p>