diff --git a/aspnetcore/blazor/components.md b/aspnetcore/blazor/components.md index 9b08580043..73da47e3eb 100644 --- a/aspnetcore/blazor/components.md +++ b/aspnetcore/blazor/components.md @@ -379,9 +379,9 @@ Invoke an `EventCallback` or `EventCallback` with `InvokeAsync` and await the await callback.InvokeAsync(arg); ``` -Use `EventCallback` and `EventCallback` for event handling and binding component parameters. Don't use `EventCallback` and `EventCallback` for child content—continue to use `RenderFragment` and `RenderFragment` for child content. +Use `EventCallback` and `EventCallback` for event handling and binding component parameters. -Prefer the strongly typed `EventCallback`, which provides better error feedback to users of the component. Similar to other UI event handlers, specifying the event parameter is optional. Use `EventCallback` when there's no value passed to the callback. +Prefer the strongly typed `EventCallback` over `EventCallback`. `EventCallback` provides better error feedback to users of the component. Similar to other UI event handlers, specifying the event parameter is optional. Use `EventCallback` when there's no value passed to the callback. ## Capture references to components