Is it possible to use async / await in React JS?
<p>I started programming in React Native, and I got used to use the syntax:</p>

<pre><code>async myFunction(){
    ...
    return await otherFunction();
}
</code></pre>

<p>But I don't know how to make it compatible with React JS and React Native in a shared package. How can I accomplish this so that it works in both platforms?</p>

<p>Thanks!</p>