dotnet / dotnet/aspnetcore

Provide a simple way to disable interactive UI elements during prerendering and then enable them once interactivity is ready

Open
#54,308 4 comments 4 reactions 0 assignees View on GitHub
area-blazor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

There is often a delay in Blazor apps between when an UI element is shown to the user and when it is actually interactive. For example, you prerender the Counter button, but it doesn't respond to button clicks until the WebAssembly runtime is up and running.

We should of course continue to find ways to optimize Blazor so this delay is as minimal as possible, ideally unnoticeable. But currently users often need to build a UI experience themselves that disables UI elements and then enables them once interactivity is available.

We should consider how we might make this UX pattern easier. Maybe the framework could provide a sensible default experience that users can then customize?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.