What is the difference between SetParametersAsync and OnParametersSet method in Blazor lifecycle?

Viewed 2262

I have created one Blazor web application. In that when the child component receives the values from the parent component using a [parameter], both OnparametersSet and SetparametersAsync methods are triggered. I just want to know the difference between OnparametersSet and SetparametersAsync methods. When SetParametersAsync method gets triggered and when the OnParametersSet method gets triggered?

0 Answers
Related