Comment

Comment by TheFragenTaken

There are typically useful ways (tools) in most bundlers to tree shake barrel files. Libraries also differ in how tree shakable they are.

Personally I think the readability of having few import lines from shared barrels, compared to a forest of lines, are very useful.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton