Weekend JavaScript Newsletter
Top JavaScript news and articles straight into your inbox every Friday. Everything you need to be successful in your career. From the new hot frameworks to IoT and robotics.

ISSUE #143

Virus in eslint-scope, Typescript 3, ES generators, and more


HEADLINES

Virus in eslint-scope? · Issue #39 · GitHub

Updated blog post: https://eslint.org/blog/2018/07/postmortem-for-malicious-package-publishes Update from the maintainers Incident status report from npm Please follow the comment by @platinumazure that gives a little insight into what h...


Announcing TypeScript 3.0 RC | TypeScript

In this new version project references, extracting params, richer tuple types and more


The npm Blog — npm Joins ECMA International and TC39

We’re excited to announce that npm has joined ECMA International and is participating in TC39, the working group of ECMA International that defines the standard for the JavaScript programming language. (The standard is, strictly speaking, called ECMAScript, although everyone refers to it as JavaScript.)


JAVASCRIPT

Javascript ES6 — You don’t really need to learn Generators | Ben Garrison

As the async/await syntax continues to grow in popularity, so does curiosity about their inner workings. It’s easy enough to piece together through a google search that the underpinnings of async/await is a combination of Promises(ok, sure I know Promises) and Generators(huh?)


Async Generators as an alternative to State Management | Vitaliy Akimov

Async Generators is a simple but powerful feature that is now a part of ECMAScript. It unlocks many features which were previously only available with non-trivial tools, e.g. state management, React Suspense API, persistent state, etc.


The definitive guide to JavaScript Dates

Working with dates in JavaScript can be complicated. Learn all the quirks and how to use them.


The case for Array#replace() | Gajus Kuizinas

There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors. Therefore, if we can reduce the amount of time we spend naming purposeless variables, we will increase our productivity. In the context of working with JavaScript, the most common case when I run into needing an intermediate variable is when I need to operate on the array itself in the method chain.


FRAMEWORKS

Javascript Framework Comparison with Examples (React, Vue & Hyperapp) | Angelos Chalaris

In my previous article, I tried to explain why I think Hyperapp is a viable alternative to React or Vue and the reasons I found it easier to get started with it. Lots of people criticized that piece, as it was opinionated and didn’t give the other frameworks a proper chance to shine. So, in this article, I’m going to try to compare these three frameworks as objectively as possible, by providing some minimal examples to showcase their capabilities.


VUE

Implementing Multiplayer Tic Tac Toe with Ably and Vue.js

This tutorial is for those of you who have a little familiarity with Vue.js and are looking for some examples of how you might use Ably Realtime in your own application.


MISC

Recreating Python's Slice Syntax in JavaScript Using ES6 Proxies | EVAN SANGALINE

Slice is a JavaScript library on npm that brings Python's extended slice syntax and negative indexing to JavaScript. This write-up explains in detail how Slice was built using ES6 Proxies, and serves as an interesting use-case of how you can use the Proxy object to build creative APIs.


Creating The Infinity Gauntlet of Thanos with JavaScript Objects | Tamal Anwar

In this article I will be explaining JavaScript object, properties and methods. We’ll be building the awesome Infinity Gauntlet worn by Thanos using JavaScript Objects. What more cool way to explain than talking about the infinity gauntlet?


Managing Complex Waiting Experiences on Web UIs | Fatih Kadir Akın

Waiting is not a concept we like. We are usually stressed at every point where “waiting” touches our lives. And on the internet, “waiting” can be much more complicated than we thought it would be.


Building an Image Editor with Canvas API | Ed’s Blog

My personal blog. Really for me to relearn what I was doing at 3am last night.