chaunmt / Interactive-Prerequisite-Flowchart

https://course-flowchart-drab.vercel.app
1 stars 0 forks source link

exports/imports clean up #89

Open jahndan opened 4 months ago

jahndan commented 4 months ago

there's no real good reason to have default exports in library files, even if one export is most likely to be used.

obviously page and component files need to have their one default export, but generally they won't export anything else useful

but in library files, the difference between import buildGraph from "..." vs import { buildGraph } from "..." is not worth having the inconsistency between the default and other exports