Blazor updates the UI every time a parameter updates. Invoking an external StateHasChanged() might be required when updating parameters as a result of any async operation.
StateHasChanged();
StateHasChanged tells Blazor to update the UI when it is called.
I would suggest you check the below link for better understanding:
Blazor updates the UI every time a parameter updates. Invoking an external StateHasChanged() might be required when updating parameters as a result of any async operation.
StateHasChanged tells Blazor to update the UI when it is called.
I would suggest you check the below link for better understanding:
https://stackoverflow.com/questions/55809117/blazor-page-not-rerendering-after-parameter-updated
need an explanation for this answer? contact us directly to get an explanation for this answer