Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for route aliases #81

Closed
EvanBacon opened this issue Oct 14, 2022 · 0 comments
Closed

feat: add support for route aliases #81

EvanBacon opened this issue Oct 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request React Navigation The issue is related to React Navigation

Comments

@EvanBacon
Copy link
Contributor

The linking configuration of React Navigation currently does not support aliases for a route. This means we cannot support / and /index both going to routes named index.

We could potentially support this directly in expo-router since we needed to write a custom getStateFromPath and getPathFromState.

This is currently blocking the stable release.

@EvanBacon EvanBacon added enhancement New feature or request React Navigation The issue is related to React Navigation labels Oct 14, 2022
@EvanBacon EvanBacon self-assigned this Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request React Navigation The issue is related to React Navigation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant