diff --git a/aspnetcore/blazor/components/index.md b/aspnetcore/blazor/components/index.md index f278bffac4..ac2bb9e543 100644 --- a/aspnetcore/blazor/components/index.md +++ b/aspnetcore/blazor/components/index.md @@ -280,7 +280,7 @@ Assign a C# field, property, or result of a method to a component parameter as a The `@` prefix is required for string parameters. Otherwise, the framework assumes that a string literal is set. -Outside of string parameters, we recommend use the use of the `@` prefix for nonliterals, even when they aren't strictly required. +Outside of string parameters, we recommend the use of the `@` prefix for nonliterals, even when they aren't strictly required. We don't recommend the use of the `@` prefix for literals (for example, boolean values), keywords (for example, `this`), or `null`, but you can choose to use them if you wish. For example, `IsFixed="@true"` is uncommon but supported. @@ -1949,7 +1949,7 @@ Assign a C# field, property, or result of a method to a component parameter as a The `@` prefix is required for string parameters. Otherwise, the framework assumes that a string literal is set. -Outside of string parameters, we recommend use the use of the `@` prefix for nonliterals, even when they aren't strictly required. +Outside of string parameters, we recommend the use of the `@` prefix for nonliterals, even when they aren't strictly required. We don't recommend the use of the `@` prefix for literals (for example, boolean values), keywords (for example, `this`), or `null`, but you can choose to use them if you wish. For example, `IsFixed="@true"` is uncommon but supported. @@ -3510,7 +3510,7 @@ Assign a C# field, property, or result of a method to a component parameter as a The `@` prefix is required for string parameters. Otherwise, the framework assumes that a string literal is set. -Outside of string parameters, we recommend use the use of the `@` prefix for nonliterals, even when they aren't strictly required. +Outside of string parameters, we recommend the use of the `@` prefix for nonliterals, even when they aren't strictly required. We don't recommend the use of the `@` prefix for literals (for example, boolean values), keywords (for example, `this`), or `null`, but you can choose to use them if you wish. For example, `IsFixed="@true"` is uncommon but supported. @@ -4523,7 +4523,7 @@ Assign a C# field, property, or result of a method to a component parameter as a The `@` prefix is required for string parameters. Otherwise, the framework assumes that a string literal is set. -Outside of string parameters, we recommend use the use of the `@` prefix for nonliterals, even when they aren't strictly required. +Outside of string parameters, we recommend the use of the `@` prefix for nonliterals, even when they aren't strictly required. We don't recommend the use of the `@` prefix for literals (for example, boolean values), keywords (for example, `this`), or `null`, but you can choose to use them if you wish. For example, `IsFixed="@true"` is uncommon but supported.