Closed
Description
When the Razor compiler is updated, we need to remove:
- Everything in
src\Components\Web\src\RenderMode\TemporaryRenderModeAttributes.cs
, since they will be superseded by types used with the@rendermode
directive:RenderModeServerAttribute
RenderModeWebAssemblyAttribute
RenderModeAutoAttribute
RenderTreeBuilder.AddComponentParameter(int, string, IComponentRenderMode)
(since it will be superseded byAddComponentRenderMode
). Can then also remove_pendingComponentCallSiteRenderMode
.- Logic inside
RenderTreeBuilder.AddAttribute
that specifically checks for the attribute name"@formname"
, since that will be superseded byAddNamedEvent
. Can then also remove_pendingNamedSubmitEvent
. - Update the project template, obviously, or it will no longer work
- Add a
using static
so we don't need theRenderMode.
prefix
- Add a