In React Navigation 5, we use conditional rendering to show auth screens when user is not logged in. This works well, but makes it difficult to use when using it with deep links.
Consider the following flow:
- User opens the app from a deep link to a screen which is only accessible to logged in users
- React Navigation tries to handle the deep link