It's about name consistency (even after rename) in large code base / teams, don't call same thing Buffer in one file and Blob in another
-
-
I think you're undercounting programming styles where nearly all modules have a default export and nothing else.
-
That might be true. I'm on huge TS stuff, where most modules also expose at least some interfaces around the main export
-
I've written nearly 100% TS modules for at least 2 years. I think when there is one JS export + interfaces default export is more valuable
-
I usually use default export as a way to indicate that the file you're importing from is really about one JS value indicated by its name.
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.