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

InvokeAsync(StateHasChanged) from StateHasChanged()

Open ismusidhu opened this issue 2 years ago • 1 comments

Browser was not getting changes promptly. It was getting changes one event late. e.g. if user clicks send button, then it would get pending message from other users and it would still not show the message that was sent by itself which would be shown only after another action from the user.

This correction is taken from https://learn.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-server-broadcast-with-signalr.

ismusidhu avatar Aug 28 '23 05:08 ismusidhu

@dotnet-policy-service agree

ismusidhu avatar Aug 28 '23 05:08 ismusidhu