Below is an illustration of how diffing works in Blazor (which copies React component model almost exactly):