Echo JS 0.11.0

<~>

tracker1 comments

tracker1 2379 days ago. link 1 point
Seems to be as much about spring as it is Vue or anything JS.  Also, Spring is a *REALLY* heavy application base if you're deploying/managing/orchestrating or running in a containerized environment.
tracker1 2379 days ago. link 1 point
I just find it cool you can output markup into the console at all...
tracker1 2379 days ago. link 1 point
Not sure what to think of summary "articles" like this.  I'm not a fan of them, even though they can open your eyes to something you may not have seen before.

Aside: just not a fan of angular in general.
tracker1 2387 days ago. link 1 point
These are pretty much the only features I'm still using Babel for… pretty much everything else is already in modern browsers and the current/latest Node.

Seems like the optional chaining operator has sat in limbo forever, recently moved to stage 3 iirc.

Another one is the pipeline operator. I'm hoping the F# syntax wins in the end.
tracker1 2387 days ago. link 1 point
One thing to consider as a second pass, would be to wrap this in a pool or queue that returns promises.  capture the worker, a resolve/reject and the on handlers use the captured handlers or throw.

This way you can do expensive processors as a limited pool of workers.  I've done similar to this with separate child_processes before.
tracker1 2387 days ago. link 1 point
While I appreciate Axios.. generally I'll just create a few simple wrappers around fetch for my API calls.
tracker1 2387 days ago. link 2 points
One piece not covered is bitwise shift, which is useful for setting flags in a clear way, for example.

    const LIST_FRACTION = 1 << 0; // (001)
    const LIST_UNIQUE = 1 << 1;   // (010)
    const LIST_SORTED = 1 << 2;   // (100)

Beyond that, you don't need to check against the flag, since a match will be non-zero (truthy)

    if (flag & LIST_UNIQUE) {}
tracker1 2387 days ago. link 1 point
I use Lighthouse built into chrome, but also use the WAVE and AXE extensions as well... they each have advantages/disadvantages over each other, with maybe 80% overlap.
tracker1 2387 days ago. link 1 point
Interesting... starred and need to remember to check this out later.

Submitted an issue suggesting a switch to github releases instead of dropbox.
[more]