React Native - What is the benefit of using StyleSheet vs a plain object?
<p>What exactly is the benefit of using <code>StyleSheet.create()</code> vs a plain object?</p>

<pre class="lang-js prettyprint-override"><code>const styles = StyleSheet.create({
  container: {
    flex: 1
  }
}
</code></pre>

<p>Vs.</p>

<pre class="lang-js prettyprint-override"><code>const styles = {
  container: {
    flex: 1
  }
}
</code></pre>