Skip to content

Split blazor.web.js into dynamically-loadable bundles #48771

@SteveSandersonMS

Description

@SteveSandersonMS

Ideally, people using SSR only (with progressive enhancement etc) would get a very small blazor.web.js that doesn't include any of the SignalR parts or any of the .NET WebAssembly runtime JS support library.

Then, if an interactive component was used, we'd use an ES module dependency to dynamically load the JS library needed for it. We could potentially split the "server" and "webassembly" bundles though they would have a lot in common. It might suffice just to split out the "interactive" parts from the "static" ones.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions