Lazy loading of components if webassembly profile #15

Closed
opened 2026-01-29 17:30:09 +00:00 by claunia · 2 comments
Owner

Originally created by @ghost on GitHub (Jan 25, 2021).

Is your feature request related to a problem? Please describe.
The download size of the components is 255KB Radzen.Blazor.dll. This is no issue with server side rendering, but adds to bandwidth with stand alone webassembly Blazor clients.

Describe the solution you'd like
Relevant Radzen Blazor components lazy loaded when page is displayed.

Describe alternatives you've considered
No other alternative yet.

Additional context
The following description about lazy loading by Microsoft.

Originally created by @ghost on GitHub (Jan 25, 2021). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can request your feature via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. --> **Is your feature request related to a problem? Please describe.** The download size of the components is 255KB `Radzen.Blazor.dll`. This is no issue with server side rendering, but adds to bandwidth with stand alone webassembly Blazor clients. **Describe the solution you'd like** Relevant Radzen Blazor components lazy loaded when page is displayed. **Describe alternatives you've considered** No other alternative yet. **Additional context** The following description about [lazy loading](https://docs.microsoft.com/en-us/aspnet/core/blazor/webassembly-lazy-load-assemblies?view=aspnetcore-5.0) by Microsoft.
Author
Owner

@akorchev commented on GitHub (Jan 26, 2021):

I don't think lazy loading applies to component libraries. Not sure how this can be implemented here.

@akorchev commented on GitHub (Jan 26, 2021): I don't think lazy loading applies to component libraries. Not sure how this can be implemented here.
Author
Owner

@ghost commented on GitHub (Jan 26, 2021):

Okay, thank you!

@ghost commented on GitHub (Jan 26, 2021): Okay, thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#15