title: Is using async componentDidMount() good?
body: <p>Is using <code>componentDidMount()</code> as an async function good practice in React Native or should I avoid it? </p>
  
  <p>I need to get some info from <code>AsyncStorage</code> when the component mounts, but the only way I know to make that possible is to make the <code>componentDidMount()</code> function async. </p>
  
  <pre><code>async componentDidMount() {
      let auth = await this.getAuth();
      if (auth) 
          this.checkAuth(auth);
  }
  </code></pre>
  
  <p>Is there any problem with that and are there any other solutions to this problem?</p>