Open GabrielaVillaAngeles opened 5 years ago
Looks like React Native Elements doesn't use List anymore. Try to use a View container instead. https://github.com/facebook/react-native/issues/16332
https://github.com/facebook/react-native/issues/16332#issuecomment-454299672 I'm still getting this issue. Everything works completely fine without using connect but the moment I use connect I keep getting the following error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
When executing sends me the following error, do you know what I'm doing wrong?
I used the code that is published
Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. 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 the render method of
FlatListDemo
.This error is located at: in FlatListDemo (at withExpoRoot.js:22) in RootErrorBoundary (at withExpoRoot.js:21) in ExpoRootComponent (at renderApplication.js:34) in RCTView (at View.js:44) in RCTView (at View.js:44) in AppContainer (at renderApplication.js:33)