Ad

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?

Ad

Answer

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.

Ad
source: stackoverflow.com
Ad