Does React Native use require or import?
<p>Does React Native use <code>require</code> or <code>import</code>?</p>

<p>All I can find is an old tutorial using <code>require()</code>, but when I run <code>react-native init</code>, I'm getting a project that uses <code>import</code>. Is this due to recent changes in React Native?</p>

<p>What are the main differences?</p>