React Native Navigation 2

0

I try to update to RNN2 and implement this in App.js

Navigation.registerComponent("Screen.AlertScreen", () => AlertScreen);
Navigation.registerComponent("Screen.OverlayScreen", () => OverlayScreen);
Navigation.registerComponent("Screen.SigninScreen", () => SigninScreen, store, Provider);
export default () => Navigation.events().registerAppLaunchedListener(() => {
 Navigation.setRoot({
 root: {
 component: {
 name: 'Screen.SigninScreen'
 }
 }
 });
});

But I get this error: Objects are not valid as a React child (found: object with keys {remove}). If you meant to render a collection of children, use an array instead

    
asked by anonymous 09.07.2018 / 00:24

0 answers