-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MatchRoute): Moved traversal middleware opportunity to after a r…
…oute is matched Traversal middleware now receives the matched route, a preview of route params, and whether or not traversal plans on terminating on that route. Traversal middleware can null out the route to prevent traversal to stop traversing that route. It can mark the candidate as terminal to force traversal to select that route. Lastly, if the route is marked as terminal it can modify the final route params
- Loading branch information
1 parent
9bc9dcd
commit 5144caa
Showing
1 changed file
with
75 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters