AzureSignalR-samples icon indicating copy to clipboard operation
AzureSignalR-samples copied to clipboard

StateHAsChanged to InvokeAsync

Open scottroot2 opened this issue 2 years ago • 0 comments

It was required that I update my ChatRoom.razor code on line 120 to wrap within an InvokeAsync() call.

InvokeAsync(() => StateHasChanged());

I am unsure if that is due to my usage of .NET 7 or something else, but at least wanted to mention that it may be a quick fix for those using these samples.

scottroot2 avatar Jan 05 '23 17:01 scottroot2