diff --git a/aspnetcore/blazor/forms/binding.md b/aspnetcore/blazor/forms/binding.md index 3065c6627339..392069df7493 100644 --- a/aspnetcore/blazor/forms/binding.md +++ b/aspnetcore/blazor/forms/binding.md @@ -464,6 +464,15 @@ To use the preceding component in the [starship example form (`Starship3.razor`/ + ``` +If the component that inherits from is ever statically rendered, assign the property to the `name` attribute of `` elements: + +```razor + +``` + +The preceding assignment isn't necessary if the component is guaranteed to always render interactively. + ### Input component with full developer control The following example component: diff --git a/aspnetcore/blazor/javascript-interoperability/static-server-rendering.md b/aspnetcore/blazor/javascript-interoperability/static-server-rendering.md index 469e0a14cf51..3fa465bba68b 100644 --- a/aspnetcore/blazor/javascript-interoperability/static-server-rendering.md +++ b/aspnetcore/blazor/javascript-interoperability/static-server-rendering.md @@ -16,7 +16,47 @@ This article explains how to load JavaScript (JS) in a Blazor Web App with stati Some apps depend on JS to perform initialization tasks that are specific to each page. When using Blazor's enhanced navigation feature, which allows the user to avoid reloading the entire page, page-specific JS may not be executed again as expected each time an enhanced page navigation occurs. -To avoid this problem, we don't recommended relying on page-specific `