I am receiving this message when I tried starting my react native app. Usually this kind of format works on other multi screen navigation yet somehow does not work in this c
I had the code at the bottom
export default class App extends React.Component {
render() {
return (
);
}
}
I simply replaced it with and it worked like a charm. Definitely, it's because updates in react-navigation library:
const App = createAppContainer(SimpleApp);
export default App;
Also, I included createAppContainer library into react-navigation at the top as well.