|
|
|
|
|
by sod
2051 days ago
|
|
If you care about javascript bundle size you have to avoid everything that comes from google (besides angular core & common of course). Material, animations, cdk, ... everything is just horrendously over engineered and nothing optimized for size. E.g. just look a sourcecode for material checkbox! https://github.com/angular/components/blob/master/src/materi... Don't get me wrong, I like those bundles - and I like my frameworks over engineered. They take care of edge cases. And if I'd write a CMS I'd be all over those packages. But if your constraint is bundle size, you have to avoid them. |
|
There are tools that produce smaller bundle size (e.g. stencil and react) but angular has much better DX.
Svelte maybe better but not used it in production yet.