Split blazor.web.js into dynamically-loadable bundles #48771
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-full-stack-web-ui
Full stack web UI with Blazor
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Pillar: Complete Blazor Web
Status: Resolved
Milestone
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.
The text was updated successfully, but these errors were encountered: