[Blazor] Support @key
at the render boundary level for declarative persistent component state
#60844
Labels
area-blazor
Includes: Blazor, Razor Components
Milestone
If you apply
@key
and@rendermode
into a component that uses declarative persistent component state the state fails to persist as anSSRRenderModeBoundary
is introduced in the middle of the hierarchy and the@key
is applied on the ancestor of theSSRRenderModeBoundary
.@key
needs to be included in the marker we emit and made available in the .NET side so that the right state key can be derived.The text was updated successfully, but these errors were encountered: