Echo JS 0.11.0


amitport comments

amitport 4 days ago. link 1 point
OK. I also noticed that '' was updated. Things are getting a little clearer, will give it a try, thanks :)

(Still, IMO, you may want to mention the providers abstraction (/SPI?) with specific examples early in the introduction. For me, this seems like the most meaningful unique (AFAIK) capability)
amitport 6 days ago. link 1 point
hmmm... I must be missing something. How does this help with reproducible deployments?
amitport 12 days ago. link 5 points
(-) requires training - this syntax may be unfamiliar/confusing to some people
(-) over-use is very bad - the problems are mentioned in MDN.
(+) when used exactly right - it saves a few characters

IMO, when working in a company/team/open-source-project it's just not worth the effort and risk (of over-use).

You can do something like this instead (a little more verbose but more readable for humans and compilers):
  const {loadEventEnd, navigationStart} = window.performance.timing;
  console.log(loadEventEnd - navigationStart);
amitport 62 days ago. link 3 points
redux abstracts a few basic patterns that are common in big apps. Its popularity fostered a very interesting ecosystem.

It's a tool. It's worth learning.

I don't see the point of attacking it or religiously adding it to any project.
amitport 79 days ago. link 1 point
Very nice, but it's important to note that it is released under AGPL. AFAIK, it means that almost every usage of this code, including as part of a web-api, can be required to be released as open source under the same license.
amitport 95 days ago. link 2 points
"Add support for ESM. This is currently behind the --experimental-modules flag and requires the .mjs extension. node --experimental-modules index.mjs" 👍