what's different between use and not use await base.OnAfterRenderAsync #104602
Replies: 2 comments
-
This isn't really about await or not; it's about whether you're calling to the base method or not. And whether that's impactful would depend on what that base method does. What type are you derived from here? In general, in such an override you should be calling to the base unless you know for a fact it is and will always be a nop. |
Beta Was this translation helpful? Give feedback.
-
Tagging subscribers to this area: @dotnet/area-meta Issue Detailswhat's different between use and not use await base.OnAfterRenderAsync ?
and
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
what's different between use and not use await base.OnAfterRenderAsync ?
what's different between these codes ?
and
Beta Was this translation helpful? Give feedback.
All reactions