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 #127

TypeScript 2.7, JavaScript framework from DHH, understanding CORS and more


HEADLINES

Announcing TypeScript 2.7 | TypeScript

We’ve got a lot in 2.7. While you can always take a look at the roadmap, we’ve put together a quick list for a bird’s eye view of this release


Stimulus: A modest JavaScript framework for the HTML you already have.

Stimulus is a JavaScript framework with modest ambitions. It doesn't seek to take over your entire front-end—in fact, it's not concerned with rendering HTML at all. Instead, it's designed to augment your HTML with just enough behavior to make it shine.


MODERN JAVASCRIPT

More functional: A story in refactoring a 2d vector library | Francis Stokes

This article is about how I rewrote my library vec-la in a functional programming style. vec-la is a small 2d linear algebra library that models vectors and matrices as plain javascript arrays. This article is not about math and linear algebra though — you don’t have to know that much to be able to get some value out of it.


Understanding CORS | Bartosz Szczeciński

CORS is a mechanism which aims to allow requests made on behalf of you and at the same time block some requests made by rogue JS and is triggered whenever you are making an HTTP request to.


Higher Order Classes with Javascript Decorators | Berat Dağlar

Among the chief problems regarding software maintainability are the ones related to code duplication. It makes sense that there are quite the number of language features, design patterns and software principles to give the developers means to keep their projects DRY. By now we’ve learned lots of good and bad ways to do it, and this is about one of these good ways that we can use in the modern JavaScript based projects.


REACT

The Case for React-like Web Components | Andrew Rabon

Combined with existing advances such as ES Classes, template literals, and Web Components (specifically Custom Elements and Shadow DOM), ES Modules were the final piece of the puzzle for React-like self-contained UI components.


Introducing URQL (beta), a Universal React Query LibraryFormidable | KEN WHEELER

Today we are formally releasing our newest OSS offering, urql. Pronounced “urkel”, it is technically an acronym for Universal React Query Library. urql is a GraphQL client created in the hopes of simplifying the use of GraphQL in React.


VUE

10 things I love about Vue | Duncan Grant

In this blog post, I aim to explore why Vue is the framework for me. I choose it above any other that I have tried. Perhaps you will agree with some of my points, but at the very least I hope to give you some insight into what it is like to develop modern JavaScript applications with Vue.


ANGULAR

Why we are hiring Angular Experts | Ibrahim Diallo

If you ever wonder how new untested technologies become the requirement in large and well established companies, well here is a little story about Angular.


Stable AngularJS and Long Term Support – Angular Blog

AngularJS is planning one more significant release, version 1.7, and on July 1, 2018 it will enter a 3 year Long Term Support period.


LEARN HOW IT WORKS

xcell

xcell is a tiny, open source (MIT) library for building reactive, spreadsheet-like calculations in JavaScript.


MISC

Add screen sharing to your Twilio Video application

In recent posts we’ve seen how to capture a user’s screen in Chrome and Firefox. Now it’s time to combine this with a real video chat application and share screens as part of a video chat.


Employers want JavaScript, but developers want Python | InfoWorld

Employers also want developers skilled in React.js, Angular, and Node.js—but fewer developers have those skills


TOOLS AND WORKFLOW

VS Code to autocomplete JavaScript class 'this' properties automatically

To ease working with JavaScript code the new versions of VS Code will ship with automatic suggestions for JavaScript classes. The Intellisense engine in the editor will bill be aware of the members available to the class and will give autocompletion for them.


Conditional Breakpoints in Chrome are Awesome | Ryan Yurkanin

Since I always write code that makes tons of sense in my head, but fails immediately after building, I’ve had to evolve and pick up some fancy tricks. I never see people talking about conditional…


console-probe

Inspect JavaScript object methods and properties in the console.