Skip to content

[Blazor] Lazy loading improvements for Webassembly #58818

Open
1 of 2 issues completed
Open
Bug
1 of 2 issues completed
@javiercn

Description

@javiercn
  • With prerendering, it can happen that we prerender a path that requires lazy loaded assemblies to render. The current APIs don't offer a way to make sure those assemblies are loaded before the page tries to render, which results in failures when the app goes interactive. We need:
  • A LazyAssemblyLoader implementation for prerendering (if you try to do this on any current .NET version it will fail).
  • A way to run the lazy loading logic before we try to render the page in webassembly.

Alternatively, can the runtime provide a way to handle lazy loading assemblies

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:1Work that is critical for the release, but we could probably ship withoutarea-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.feature-blazor-lazy-loadingIssues related to adding support for lazy-loading in Blazor

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions