Skip to content

Blazor WebAssembly startup re-renders components once per StateHasChanged #12753

Description

@yasmoradi

Problem

During Blazor WebAssembly startup, root/layout components (AppShell, Header, NavBar, HomePage, AppAiChatPanel) receive a burst of StateHasChanged calls, and each one triggers a full subtree re-render. On the WASM UI thread this startup rendering is a measurable bottleneck, and most of these intermediate renders are discarded almost immediately.

Impact

  • Avoidable render CPU during the most latency-sensitive window (time-to-interactive).
  • Slower perceived startup on Blazor WebAssembly specifically.

Area

Boilerplate template — Boilerplate.Client.Core components.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions