Skip to content

Commit 0e6e65b

Browse files
authored
[Blazor] Rendering - Rerender logic adjustments (#35492)
1 parent 02f1bb1 commit 0e6e65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/blazor/performance/rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ At runtime, components exist in a hierarchy. A root component (the first compone
2222

2323
1. The event is dispatched to the component that rendered the event's handler. After executing the event handler, the component is rerendered.
2424
1. When a component is rerendered, it supplies a new copy of parameter values to each of its child components.
25-
1. After a new set of parameter values is received, each component decides whether to rerender. Components rerender if the parameter values may have changed, for example, if they're mutable objects.
25+
1. After a new set of parameter values is received, Blazor decides whether to rerender the component. Components rerender if [`ShouldRender`](xref:blazor/components/rendering#suppress-ui-refreshing-shouldrender) returns `true`, which is the default behavior unless overridden, and the parameter values may have changed, for example, if they're mutable objects.
2626

2727
The last two steps of the preceding sequence continue recursively down the component hierarchy. In many cases, the entire subtree is rerendered. Events targeting high-level components can cause expensive rerendering because every component below the high-level component must rerender.
2828

0 commit comments

Comments
 (0)