Investigate not requiring unintuitive requirements for pre-rendering PageTitle #38400
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-prerendering
Issues related to prerendering blazor components
Priority:1
Work that is critical for the release, but we could probably ship without
Milestone
Pre-rendering for PageTitle requires rendering things in a specific order and relies on a _Layout.cshtml which is not very intuitive. See https://docs.microsoft.com/en-us/aspnet/core/blazor/components/prerendering-and-integration?view=aspnetcore-6.0&pivots=webassembly#prerendering-configuration for all of the steps involved here.
Possible things to look at:
a) Can we do away with requiring a separate
_Layout
?b) If the first option is difficult, could we produce an error if the
PageTitle
component is being rendered before any other component?The text was updated successfully, but these errors were encountered: