dotnet / dotnet/aspnetcore

Customizing how Auto mode makes its decision

Open
#48,756 3 comments 4 reactions 0 assignees View on GitHub
area-blazor enhancement feature-full-stack-web-ui Pillar: Complete Blazor Web Priority:1
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

The initial implementation of the `Auto` rendermode will be hardcoded to make its choice based on whether the WebAssembly files are already downloaded and cached.

Some developers may want to implement custom rules, e.g.:

* For certain device types or network conditions, always use Server or WebAssembly (even if the user has to wait for it to download)
* Perhaps others?

There could be a JS-side callback to allow arbitrary JS code to make the decision.

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.