title: React Native: 'React' refers to a umd global but the current file is a module consider adding an import instead
body: <p>I was getting this error while adding a <strong>View</strong> component in <strong>.tsx</strong> file.</p>