React-native-router-flux: react-native-web Unable to be compatible

Created on 3 Aug 2017  Â·  2Comments  Â·  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:

  • react-native-router-flux 4.0.0-beta.15
  • react-native 0.47.1
  • react-native-web 0.0.119
  • react-navigation 1.0.0-beta.11

Expected behaviour

run react-native-web on chrome
Can run

Actual behaviour

navigationStore.js:1 Uncaught TypeError: (0 , _reactNavigation.StackNavigator) is not a function
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at _loop (navigationStore.js:1)
at NavigationStore.processScene (navigationStore.js:1)
at NavigationStore.create (navigationStore.js:1)

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.

  1. cause react-navigation on web no have this StackNavigator function

in react-navigation package.json info:
{
"main": "src/react-navigation.js",
"sources": {
"react-native-v1": "lib-rn/react-navigation.js",
"web": "lib/react-navigation.web.js"
}

My English is poor, sorry 。。。

Most helpful comment

worst resolution ever

All 2 comments

Sorry, it is not supported (probably you could look does react-navigation support react-native-web or not)

worst resolution ever

Was this page helpful?
0 / 5 - 0 ratings

Related issues

booboothefool picture booboothefool  Â·  3Comments

wootwoot1234 picture wootwoot1234  Â·  3Comments

sarovin picture sarovin  Â·  3Comments

kirankalyan5 picture kirankalyan5  Â·  3Comments

xnog picture xnog  Â·  3Comments