-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
PerfPriority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releaseaffected-mediumThis issue impacts approximately half of our customersThis issue impacts approximately half of our customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-renderingFeatures dealing with how blazor renders componentsFeatures dealing with how blazor renders componentsseverity-minorThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
The change detection seems to me a bit liberal (for lack of a better word). Given a list of N instances of some POCO model, each handed to an individual component, changing just one of them causes the entire set of components to re-render.
I made a fiddle to demonstrate the issue: https://blazorfiddle.com/s/fla3gm2q
200 instances in the list, provided (individually) to 200 sub-components. Changing just the first one causes 200 calls to OnParametersSet - I was hoping for just one.
(Ideally I'd like to be able to update a specific sub-component, but #13358. Pardon me pressing that issue, I mean no offence).
Thank you in advance for your consideration.
Madhust, jivanova, jakotheshadows and endeffects
Metadata
Metadata
Assignees
Labels
PerfPriority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releaseaffected-mediumThis issue impacts approximately half of our customersThis issue impacts approximately half of our customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-renderingFeatures dealing with how blazor renders componentsFeatures dealing with how blazor renders componentsseverity-minorThis label is used by an internal toolThis label is used by an internal tool