Answers for "undefined is not a function (near '...(0, _reactNative.createStackNavigator)...')"

0

undefined is not a function (near '...(0, _reactNative.createStackNavigator)...')

import { createStackNavigator, createAppContainer } from 'react-navigation';
import HomeScreen from './yourScreenPath';

const AppNavigator = createStackNavigator({
  Home: { screen: HomeScreen }
});

export default createAppContainer(AppNavigator);
Posted by: Guest on December-15-2020

Code answers related to "undefined is not a function (near '...(0, _reactNative.createStackNavigator)...')"

Code answers related to "Javascript"

Browse Popular Code Answers by Language