Hi, that’s a good article, I like the @HostBinding pattern you used.
I noticed also that default view encapsulation increases bundle size in about 5%-10% compared to not using view encapsulation.
Tree shaking don’t seems to work well for styles, and that’s a pity.
At work I’m doing internal management systems, so bundle size is less of an issue. but planning on developing my own web app, I would look in every way to cut the bundle size, and definitely look at styles architecture.
So thanks for the article.
Thanks a lot, Do share your stats with others.