Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

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

$
0
0

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?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>