#435 — May 3, 2019

Read on the Web

JavaScript Weekly

Babylon.js 4.0: The (Very) Powerful WebGL Graphics Engine — Such a significant release that they’ve released a 2 minute video trailer for it! With 4.0 Babylon has gone fully modular, so it’s more efficient than ever to distribute to end users. Want to play? Enjoy this editable live demo.

Microsoft

Visual Studio Code Previews Support for 'Remote Development' — The VS Code editor is getting an exciting new feature, the ability to work directly with remote workspaces (running either WSL, Docker containers, or physical machines or VMs over SSH).

VS Code Team

Using Competency Mapping to Unlock Skills in Your Org — Free, Online Talk - May 15th.

Big Nerd Ranch sponsor

Electron 5.0.0 Released — Just 3 months after 4.0, Electron 5, the popular system for building Node and Web technology based desktop apps, is here. It’s mostly a dependency bump release, but with Node 12 and Chromium 73 now under the hood, that’s no bad thing.

Electron.js Team

Editor.js: A Block-Styled Editor with JSON Output — Typical WYSIWYG editors output raw HTML markup but Editor.js keeps things organized into ‘blocks’ which are then returned in structured JSON which makes the content easier to sanitize or transform.

CodeX

Shimport 1.0: Use JavaScript Modules in All Browsers? — Allows you to use JS modules in all browsers, including dynamic import(). We first linked this when it was entirely experimental but it’s just had its 1.0 release, so have a play.

Rich Harris

Easy Automatic npm Publishes — npm and Node powerhouse Isaac Z. Schlueter says he hasn’t “manually typed npm publish in a while” and explains how he’s semi-automated his npm publishing process.

Isaac Z. Schlueter

💻 Jobs

JavaScript Developer at X-Team (Remote) — Join the most energizing community for developers. Work from anywhere with the world's leading brands.

X-Team

Senior JavaScript Developer - Kontist (Remote) — Join our team of full-stack JavaScript developers and shape the future of banking.

Kontist

Have You Tried Vettery? — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started.

Vettery

📘 Tutorials and Opinions

In Defense of the Ternary Statement — Code similar to expression ? true_result : false_result is known as a ternary expression. Much maligned, is it possible to use them in JavaScript without getting into an unreadable mess?

Burke Holland

'I just shipped Promise.allSettled in Chrome 76'Promise.allSettled is like Promise.all but doesn’t short-circuit if any supplied promise is rejected.

Sathya Gunasekaran on Twitter

New Features in Node 12 You Shouldn't Miss — Node 12 came out last week, and this post reflects on some of the new features.

Máté Huszáarik

▶  How Facebook is Building the New Facebook.com with React, GraphQL and Relay — The forthcoming redesign is fully powered by React and Relay and this 35 minute talk digs into the technicalities.

Facebook for Developers

Replace Tedious Coding with MongoDB Stitch and Public APIs

MongoDB sponsor

The Perfect Unit Test — You might recognize Jack’s name if you’ve been a long time subscriber as he used to write a lot of great posts. He’s back now with some basic tips on how to craft better unit tests.

Jack Franklin

Deeply Understanding async and await with Examples — One more for beginners, but it’s a perennial topic covered well.

Arfat Salman beginner

Array.push is 945x Faster Than Array.concat? — Also worth checking out the comments on this one.

Shi Ling

Why I Prefer React Over Vue
Sebastian De Deyne

An Introduction to Vue.js Render Functions (with Examples)
Charles Ouellet

5 Things You Didn’t Know About React DevTools
Kristofer Selbekk

Serving Vue.js Apps on GitHub Pages
Muhammad Usman

🔧 Code and Tools

Textblock: Set Continuously Responsive Typography — A JS library that adjusts the size, leading, line height, and other factors of text to make it ‘continuously responsive’.

Glyphic

sql.js: SQLite Compiled to JavaScript (and Webassembly) — Naturally experimental, 1.0 just dropped with Webassembly support and based upon the latest SQLite version (3.28.0). Want to play? Here’s a live demo.

Alon Zakai

Automate Your Code Reviews — Codacy flags errors in your code so you can fix them quickly, directly from your current workflow. Get started today.

Codacy sponsor

Relay 4.0.0 Released: A Framework for Building Data-Driven React Apps“Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.”

Facebook

jQuery-CSV: A jQuery CSV Parser Plugin — A jQuery plugin(!) you say? Yes, but this is a very well optimized, battle tested, and spec compliant CSV parser and its 1.0 release today “marks the first – and likely only – stable LTS release of this library” so.. congratulations are in order.

Evan Plaice

Glide: A Dependency-Free ES6 Slider and Carousel — A lightweight, flexible and fast straightforward slider. Demo here.

Jędrzej Chałubek

jQuery 3.4.1: A Bugfix Release — Bugs squashed include focus/blur triggering in IE, checking element attachment in iOS 10.0-10.2, and loading with AMD. 3.4.0 was released last month if you missed that.

Timmy Willison

DeepScan Makes Your JavaScript Better — Use this static analysis service to find problems in your JavaScript, TypeScript, React & Vue on GitHub. Try it free.

DeepScan sponsor

vue-qrcode-reader: Vue.js Components for Detecting and Decoding QR Codes
Niklas Gruhn

Dotenv 8.0: Load Environment Variables From `.env` in Node
Scott Motte

Ember Charts 2.0: An Easy to Use Charting Library for Ember.js
Addepar