0

I'm trying to use react-navigation and react-native-web as described in https://reactnavigation.org/docs/en/web-support.html (nothing much.. just says it's possible)

If a user sends a link to his friend example.com/some/path I'd like to show him correct screen.

How can I achieve that using react-navigation? Can you read url and render the correct screen?

eugene
  • 39,839
  • 68
  • 255
  • 489

1 Answers1

0

so it turns out, as of now, react-navigation doesn't even support stack-navigator for web.

So it's not worth pursuing this route.

eugene
  • 39,839
  • 68
  • 255
  • 489
  • Would this still be the case with the new React-Navigation 5.0? (https://reactnavigation.org/next) – Tom Hemmes Nov 21 '19 at 15:47
  • I would check their git if there's a navigator for natives. I guess you will want to check if their react-navigation/native@next has something like StackNavigator.. – eugene Nov 21 '19 at 16:05
  • Thanks for your reply! I did exactly that, it seems to be working though with a lot of warnings from underlying `react-native-reanimated`. – Tom Hemmes Nov 22 '19 at 13:20