dotnet/aspnetcore

Progressive enhancement of form submission & navigation

mkArtakMSFT opened this issue · 4 comments

Normally page navigations and form submissions require a full page load. With progressive enhancement, page navigations and form submissions can be handled more efficiently by intercepting the navigation and patching the DOM. This makes the user experience much smoother and faster while preserving more of the user's context on the page. If JS functionality is not available for whatever reason the app degrades gracefully to normal page loads.

Is it essentially baking in PWA mechanisms into blazor, does it work only with Blazor's mechanism for example NavigationManager.NavigateTo() or it works for a ref linking too

@Xyncgas It should work for all the things that already work with traditional Blazor interactive client-side routing (e.g., on WebAssembly). Any case where we've intercepted navigation in the past to wire it up to the client-side router, we'll also intercept to wire up to this new system.

Any case where we've intercepted navigation in the past to wire it up to the client-side router, we'll also intercept to wire up to this new system.

Thanks

Duplicate of #48761 and #48762