ES modules take: I'm pretty sure if you use `export default` you'll regret it.
Are you mostly writing app code or lib code? Mostly small packages or large ones?
-
-
mostly lib code. how do you define a "small package"?
-
Something like mkdirp (with one main export and a handful of clearly subordinate exports) is a small package. Anything bigger is a large one.
-
i guess I make mostly large modules then.
-
I think for large libraries I completely buy the idea that you shouldn't use default export. For libraries like mkdirp it captures what was nice about single export. For app code being able to export default a component is nice (look at an ember app, not better w/o default)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
you can have several of them