Blazor

How do you render a Blazor page after the parameter is updated?

How do you render a Blazor page after the parameter is updated?

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:

https://stackoverflow.com/questions/55809117/blazor-page-not-rerendering-after-parameter-updated

Sumitra Kumari Shaw

An Engineering graduate who Enjoys building things that live on the internet.