|
|
|
|
|
by throwitaway1123
895 days ago
|
|
You're editing your comment very frequently, so I'll reply to it as it appears to me right now. > IMO the language is fine, and imports are fine too, but the way they're used in frameworks isn't the best. Ok so I think we're talking about two different things. The RawJS author was saying that he doesn't like es modules as a language feature because he has to separately import each identifier from a package. I was pointing out that you don't have to import each identifier separately, you can simply use the 'import * as identifier from "package"' syntax (es module namespace imports). You seem to be talking about a separate issue (dependency injection). |
|
> The RawJS author was saying that he doesn't like es modules as a language feature [...] You seem to be talking about a separate issue (dependency injection).
Yes, that's why I said "I don't personally have a problem with ES Modules per se". Because I don't. But I dislike the abuse of the feature, and frameworks that force its use.