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: Adding public and protected outlets #195

Merged
merged 7 commits into from
Sep 12, 2024

Conversation

patricklafrance
Copy link
Member

Previously there was only a ManagedRoutes outlet. It means that all the registered routes could only be rendered at a single place in the React Router tree. It's not convenient when dealing with an AuthenticatedBoundary.

To help with that, the ManagedRoutes has been replaced by 2 new outlets: PublicRoutes and ProtectedRoutes.

Additionally, a new registerPublicRoute is available with this PR.

@patricklafrance patricklafrance merged commit 98e4839 into main Sep 12, 2024
2 checks passed
@patricklafrance patricklafrance deleted the feat/adding-public-and-protected-outlets branch September 12, 2024 01:54
@github-actions github-actions bot mentioned this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant