Skip to content

[Blazor] Provide guidance about prerendering and flashing UI #15271

Closed
@javiercn

Description

@javiercn

When the app prerenders it waits until the first meaningful paint to produce the HTML.
When the browser connects to the client it produces a render as fast as possible, without waiting for the content to be retrieved from async sources like the database.
This results in a visible flash in the UI where the prerendered data disappears and the component renders something else until the data comes back and the first meaningful client-side paint occurs.

We should provide customers with guidance on how to design/build their applications so that they can avoid this flashing behavior.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions