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
Both tools are useful; both are necessary; most modules should have a single default export.