import.meta and TC39 process as a whole

Gil Tayar gil at tayar.org
Fri Aug 4 07:20:43 UTC 2017


Myself, and tens of programmers I know, use ES6 modules (and their
precursors, CommonJS modules) for years now and can't even believe there
was a time when they didn't exist, given that they have totally transformed
(in a good way) the way we work. And that is also the vibe I am getting
from the community (twitter, blog posts, meetups, etc). So when you say
that modules are "redundant and unnecessary on the server-side.  and
[...]continue to fail to solve an relevant pain-point for everyday
programmers on the frontend-side now", I believe you are not talking about
myself or about the community I surround myself with.

- Gil Tayar

On Fri, Aug 4, 2017 at 9:47 AM kai zhu <kaizhu256 at gmail.com> wrote:

>
> > I’m curious what the concerns were. You mentioned disliking the syntax,
> but I’m guessing there’s more to it than that?
>
> the concern is that es modules are starting to look like a solution in
> search of a problem.  its redundant and unnecessary on the server-side.
> and it continues to fail to solve an relevant pain-point for everyday
> programmers on the frontend-side now, or in the foreseeable future, while
> creating new ones.
>
> > I’ve been experimenting with ES Modules over HTTP 2 for a few months. I
> used rollup to create my dep graph without actually bundling, then served
> requested modules as entry points with a server push for their deps. I
> imagine that it won’t be long brolefore generic tooling for this sort of
> approach emerges (my own solution is pretty hacky, just wanted to see how
> it might work).
>
> for most projects, dep-graph and tree-shaking have marginal benefits in
> frontend programming, given their complexity.  for all that extra work and
> boilerplate, the result is typically not anymore smaller, more efficient,
> or more maintainable than a pre-es6 rollup file.
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170804/87ea7d99/attachment.html>


More information about the es-discuss mailing list