Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

ERROR React.createElement : type is invalid

$
0
0

I notice that's my first react native app and this is what I've when I just try to import the first components :

"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s%s, object,  You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.Check your code at App.js:9.,  in App (created by ExpoRoot)    in RNCAppearanceProvider (at src/index.tsx:70)    in AppearanceProvider (created by ExpoRoot)    in ExpoRoot (at renderApplication.js:45)    in RCTView (at AppContainer.js:109)    in DevAppContainer (at AppContainer.js:124)    in RCTView (at AppContainer.js:135)    in AppContainer (at renderApplication.js:39)* [native code]:null in __expoConsoleLog

Error


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>