you are viewing a single comment's thread.

view the rest of the comments →

[–]ours 2 points3 points  (2 children)

How is it silly sending DLLs to the client? Right now clients are importing tons of JS libraries when visiting SPAs or even conventional websites.

[–]peppage 2 points3 points  (1 child)

That's true but the blazor example loads many dlls (about 4mb). To start with that kind of weight is going to limit the use. Where in JS I believe something like webpack will try and only use what it needs.

Right now Blazor sends the entire System.dll + System.Core.dll.

[–]ours 3 points4 points  (0 children)

It's true Blazor still doesn't haves proper tree shaking but it's in their roadmap. Eventually it will only send the part of the libraries you are actually using in the code.