Skip to content
Advertisement

Tag: ios-simulator

React Native Component Exception – Element Type is invalid: expected string…got undefined

I recently added a component to my project and this error is coming up for some reason. I know it’s being exported correctly from the component and imported by App.js correctly. (Exporting as default and importing without {}). It’s also strange that when I change the export of App from exporting in the function declaration to exporting from below with

Advertisement