Skip to main content
4 events
when toggle format what by license comment
Oct 19, 2023 at 19:35 comment added misterbee180 I feel it's worth mentioning that if your parameters are coming from a parent page or component, and you have multiple parameters, multiple parameters will be provided in your ParameterView object, even ones that don't change. In addition, in this overwritten function at the point where you see that there's a difference between the new parameter and the one coming in, the value hasn't yet changed and so executing a function here off of a difference will be running based on non changed values.
Jun 17, 2020 at 12:45 comment added Arve Hansen NB: With SetParametersAsync I don't need the extra _previousInput variable, so it was helpful :-)
Jun 17, 2020 at 12:34 comment added Arve Hansen Thank you for your input. Had a read about the Blazor lifecycle, and in my case I don't need to know that early in the lifecycle, so OnParametersSetAsync is probably just as good. I was hoping there was a totally different way to do this, but there probably isn't(?)
Jun 17, 2020 at 11:33 history answered Zsolt Bendes CC BY-SA 4.0