Split the Routing & Navigation article #36145
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #35683
Splits roughly along
Router
component andNavLink
/NavigationManager
lines.Not Found spans them, so there's a little bit on the
NotFoundPage
param in the Routing article with the rest in the Not Found responses section of the new Navigation article.I'm not planning a review/update of all sections at this time. It would slow me down by a couple of days in reaching the next Blazorfy IT!™ issue, but let me know if you would like to go for a full review on all of this guidance.
I'm inlining code examples because it's taking an awful lot of time ... i.e., 💰💰💰 ... to update sample cross-links every release for no great benefit. The code isn't changing and isn't likely to change for these examples. I'm stripping off the
<PageTitle>
markup because it came in at 6.0, making the examples apply universally.Outlines
Routing article
OnNavigateAsync
OnNavigateAsync
<Navigating>
contentNavigation article
NavLink
componentnull
NavLink
components via reflectionInternal previews
Toggle expand/collapse