Enhanced navigation & form handling 8.0#30336
Conversation
MackinnonBuck
left a comment
There was a problem hiding this comment.
I'm using an informal name, Normal navigation, in contrast to Enhanced navigation. Does that choice make sense?
That seems reasonable. Another term explained here is "cross-document navigation" (and enhanced navigation would be an example of "same-document-navigation"). Maybe we could refer to that document to clarify that "normal" navigation means "cross-document navigation" and "enhanced" navigation is a form of "same-document navigation"?
I'm concerned about scoping what enhanced nav applies to. We're saying "if available," but can we specify exactly when it's available?
Enhanced navigation is available when:
blazor.web.jsis used (notblazor.server.jsorblazor.webassembly.js)- It's not explicitly disabled via
Blazor.start({ ssr: { disableDomPreservation: true } }) - The destination URL is within the internal base URI space
But it should be noted that even if enhanced navigation is available, navigations will still go through an interactive (client-side) router if one exists.
|
Thx @MackinnonBuck ... I'll make another pass using that information and ping u back ... probably tomorrow. |
❓ on ...
I added that to the text, but why is that important to tell readers? It seems like it needs an additional remark as to why the reader would care. |
🛑NOTE TO SELF: Add link to What's New (release notes) before merging! |
Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>
It's probably not going to be relevant to most customers. It really only applies if you were to have, for example, an interactive It's possible this is a detail we can leave out, since that's a very uncommon pattern - I'll leave that up to you! |
|
We can keep it ... let me try with a remark that it's an uncommon concern but for full disclosure. I'll try that now ... brb .......... |
|
Ok ...
|
|
@MackinnonBuck ... I'll assume this is ok now and go ahead. I'm about to wrap up for the week, and I'd like to get this in before I update DR and Artak on where everything stands. Msg me if this needs a patch. |
|
@MackinnonBuck ... One more side-question ... WRT RC2 and forms to enable enhanced nav, the behavior will be opt-in ...
I'm looking at Steve's issue ... ... and will be documenting for RC2 that ...
... so it will need to be done for every form that the dev wants enhanced nav for. For "nonhierarchical," confirm if that it just means it must be enabled on a per-form basis. Any embedded forms in a form also needs the attribute/param. |
Looks great 🙂
Yep, that's correct. You can't, for example, put |
Fixes #30322
Addresses #28161
Internal previews