Element type is invalid Error
Closed this issue · 1 comments
waltermvp commented
I almost sure it's something with my setup since no one else is experiencing this. But after adding th package via yarn and using the correct imports:
import Loader from "react-native-mask-loader";
render() {
return (
<Loader
isLoaded={true}
imageSource={require("../assets/twitter.png")}
backgroundStyle={{ backgroundColor: blue }}>
<LandingPage
appVersion={this.state.codePushVersion}
setAppView={this._setAppView.bind(this)}
/>
</Loader>
);
}
However i get this error:
waltermvp commented
Issue disappeared when upgrading to 0.55.4 from 0.44.0