You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/blazor/call-web-api.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -623,24 +623,20 @@ For more information, see the [Client-side services fail to resolve during prere
623
623
624
624
Whenprerendering, componentsrendertwice: firststatically, theninteractively. Statedoesn't automatically flow from the prerendered component to the interactive one. If a component performs asynchronous initialization operations and renders different content for different states during initialization, such as a "Loading..." progress indicator, you may see a flicker when the component renders twice.
625
625
626
-
YoucanaddressthisbyflowingprerenderedstateusingthePersistentComponentStateAPI, whichthe `BlazorWebAppCallWebApi` and `BlazorWebAppCallWebApi_Weather` [sampleapps](#sample-apps) demonstrate. Whenthecomponentrendersinteractively, itcanrenderthesamewayusingthesamestate. However, theAPIdoesn't currently work with enhanced navigation, which you can work around by disabling enhanced navigation on links to the page (`data-enhanced-nav=false`). For more information, see the following resources:
Copy file name to clipboardExpand all lines: aspnetcore/blazor/fundamentals/routing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1072,7 +1072,7 @@ Enhanced navigation is available when:
1072
1072
1073
1073
* The Blazor Web App script (`blazor.web.js`) is used, not the Blazor Server script (`blazor.server.js`) or Blazor WebAssembly script (`blazor.webassembly.js`).
1074
1074
* The feature isn't [explicitly disabled](xref:blazor/fundamentals/startup#disable-enhanced-navigation-and-form-handling).
1075
-
* The destination URL is within the internal base URI space (the app's base path).
1075
+
* The destination URL is within the internal base URI space (the app's base path) and the link to the page doesn't have the `data-enhance-nav` attribute set to `false`.
1076
1076
1077
1077
If server-side routing and enhanced navigation are enabled, [location changing handlers](#location-changes) are only invoked for programmatic navigation initiated from an interactive runtime. In future releases, additional types of navigation, such as following a link, may also invoke location changing handlers.
Guidance changes for persistent component state with enhanced nav
64
-
will be on the upcoming docs PR for RC1.
65
-
66
-
API review for support persistent component state on enhanced navigation
67
-
https://github.com/dotnet/aspnetcore/issues/62773
68
-
-->
69
-
70
-
*[Enhanced navigation](xref:blazor/fundamentals/routing#enhanced-navigation-and-form-handling) with circuit state persistence isn't currently supported but planned for a future release.*
*[Enhanced navigation](xref:blazor/fundamentals/routing?view=aspnetcore-10.0#enhanced-navigation-and-form-handling) with circuit state persistence isn't currently supported but planned for a future release.*
0 commit comments