Q:

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

0

This code will help you to understand how to render a Blazor page after the parameter is updated.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now