You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new guidance is to use EventCallback instead of Action.
See for more details dotnet/aspnetcore#6351
Since Preview 6, the use of Action is also causing the following errors to show up:
System.ArgumentException: Object of type 'Microsoft.AspNetCore.Components.EventCallback`1[Microsoft.AspNetCore.Components.UIMouseEventArgs]' cannot be converted to type 'System.Action`1[Microsoft.AspNetCore.Components.UIMouseEventArgs]'.
at System.RuntimeType.CheckValue (System.Object value, System.Reflection.Binder binder, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) <0x2778e18 + 0x000c6> in <917eebd1d479468d957d9e8362baba7d>:0
The text was updated successfully, but these errors were encountered:
The new guidance is to use EventCallback instead of Action.
See for more details dotnet/aspnetcore#6351
Since Preview 6, the use of Action is also causing the following errors to show up:
The text was updated successfully, but these errors were encountered: