-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.
Milestone
Description
In _Host.cshtml:
<app>
@* Remove the following line of code to disable prerendering *@
@(await Html.RenderComponentAsync<App>(RenderMode.ServerPrerendered))
</app>Since #13147, the comment is no longer correct - following that advice will now just break the app.
The API is now self-explanatory enough that I suggest we just remove the comment. People who want to disable prerendering will be able to guess that they do so by changing to a different RenderMode. It's a great API :)
Also it should be trivial to eliminate the <app> element too. We just have to change the CSS so that rules targetting app target body instead (but verify this).
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.