Skip to content

Commit e9df96c

Browse files
authored
Move remark to opening content of article (#29022)
1 parent a4478d7 commit e9df96c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aspnetcore/blazor/components/lifecycle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ This article explains the ASP.NET Core Razor component lifecycle and how to use
1818

1919
The Razor component processes Razor component lifecycle events in a set of synchronous and asynchronous lifecycle methods. The lifecycle methods can be overridden to perform additional operations in components during component initialization and rendering.
2020

21+
This article simplifies component lifecycle event processing in order to clarify complex framework logic. You may need to access the [`ComponentBase` reference source](https://github.com/dotnet/aspnetcore/blob/main/src/Components/Components/src/ComponentBase.cs) to integrate custom event processing with Blazor's lifecycle event processing. Code comments in the reference source include additional remarks on lifecycle event processing that don't appear in this article or in the [API documentation](/dotnet/api/). Blazor's lifecycle event processing has changed over time and is subject to change without notice each release.
22+
23+
[!INCLUDE[](~/includes/aspnetcore-repo-ref-source-links.md)]
24+
2125
## Lifecycle events
2226

2327
The following simplified diagrams illustrate Razor component lifecycle event processing. The C# methods associated with the lifecycle events are defined with examples in the following sections of this article.
@@ -59,10 +63,6 @@ The `Render` lifecycle:
5963

6064
Developer calls to [`StateHasChanged`](#state-changes-statehaschanged) result in a render. For more information, see <xref:blazor/components/rendering>.
6165

62-
This article simplifies some aspects of component lifecycle event processing in order to clarify complex framework logic. You may need to access the [`ComponentBase` reference source](https://github.com/dotnet/aspnetcore/blob/main/src/Components/Components/src/ComponentBase.cs) to integrate custom event processing with Blazor's lifecycle event processing. Code comments in the reference source include additional remarks about lifecycle event processing that don't appear in this article or in the [API documentation](/dotnet/api/). Note that Blazor's lifecycle event processing has changed over time and is subject to change without notice each release.
63-
64-
[!INCLUDE[](~/includes/aspnetcore-repo-ref-source-links.md)]
65-
6666
## When parameters are set (`SetParametersAsync`)
6767

6868
<xref:Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync%2A> sets parameters supplied by the component's parent in the render tree or from route parameters.

0 commit comments

Comments
 (0)