I hade the same issue, nad this solved it:
failes:
import StackNavigator from 'react-navigation';
works:
import { StackNavigator } from 'react-navigation';
来源于:
https://github.com/react-community/react-navigation/issues/666
I hade the same issue, nad this solved it:
failes:
import StackNavigator from 'react-navigation';
works:
import { StackNavigator } from 'react-navigation';
来源于:
https://github.com/react-community/react-navigation/issues/666