Skip to content

Commit 893ca46

Browse files
Fix @key not being respected for interactive WebAssembly components after publish (#53746)
1 parent 845deea commit 893ca46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Components/WebAssembly/WebAssembly/src/Services/DefaultWebAssemblyJSRuntime.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public static void UpdateRootComponentsCore(string operationsJson)
106106

107107
[DynamicDependency(JsonSerialized, typeof(RootComponentOperation))]
108108
[DynamicDependency(JsonSerialized, typeof(RootComponentOperationBatch))]
109+
[DynamicDependency(JsonSerialized, typeof(ComponentMarkerKey))]
109110
[UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "The correct members will be preserved by the above DynamicDependency")]
110111
internal static RootComponentOperationBatch DeserializeOperations(string operationsJson)
111112
{

0 commit comments

Comments
 (0)