reactjsreact-nativereact-navigationreact-native-web

React-navigation + react-native-web for web project, how to navigate to correct screen using url


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?


Solution

  • 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.