Comment

Comment by ljharb

A default export is what a module is; a named export is what a module has.

Both tools are useful; both are necessary; most modules should have a single default export.

parent ljharb 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton