It bugs me that people criticize TC39 for not basing Modules on Node/CJS. Why should they settle for a local maximum just bc it was first?
-
-
And partly took as long as it did because of need to engage and reconcile with Node use cases as best we could.
-
And because node genuinely came up with new ideas that made the ergonomics better using the dynamic tools they had at the time.
-
People conflated the dynamic tools with the programming model, but default export is a genuinely good idea we wanted to adopt.
-
Love default exports - crazy that the TypeScript folks dislike it.
-
They do? Maybe because it's harder to quick fix?
-
They say "you can't rename" but they mean "I want all default imports always use the same name" -
@mweststrate hope I'm not misrepresenting -
I don't get it.
-
import Foo from "./foo" What if, inside foo.js you rename class Foo to class Bar Old imports will still work w/ old name: they no like
- 21 more replies
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.