JavaScript News

Weekly Platform News: Apple Deploys Web Components, Progressive HTML Rendering, Self-Hosting Critical Resources

September 12th, 2019

In this week’s roundup, Apple gets into web components, how Instagram is insta-loading scripts, and some food for thought for self-hosting critical resources. Apple deploys web components built using Stencil The new Apple Music web app (beta) uses a JavaScript framework (Ember.js) but also standard web components such as <apple-music-video-player> that are built using Stencil,…


September 12th, 2019

Earlier this week, Bastian Allgeier published some interesting thoughts about complexity in web development and how changing simple things can often feel far more difficult than they need to be: You want to build a JS file? Please update Webpack first. Oh, that new version of Webpack is no longer compatible with your Node version….

OpenSSL security releases do not require Node.js security releases

September 12th, 2019

Summary The OpenSSL Security releases of September 10th, 2019 do not affect Node.js. Analysis Our assessment of the security advisory is: ECDSA remote timing attack (CVE-2019-1547) Not affected. Node supports only named curves for ECDSA signing. Fork Protection (CVE-2019-1549) Not affected. Node.js always call exec() after fork() so will not duplicate the PRNG state in…

Hamburger Menu with a Side of React Hooks and Styled Components

September 10th, 2019

We all know what a hamburger menu is, right? When the pattern started making its way into web designs, it was both mocked and applauded for its minimalism that allows main menus to be tucked off-screen, particularly on mobile where every pixel of space counts. About double the meat. Love ‘em or hate ‘em, hamburger…

“Off The Main Thread”

September 10th, 2019

JavaScript is what they call “single-threaded.” As Brian Barbour puts it: This means it has one call stack and one memory heap. We all feel a symptom of that regularly in the form of performance jank and non-interactivity on elements or entire sites. If we give JavaScript lots of jobs and it gets really busy…

Perspectives from Contributing to Angular

September 9th, 2019

This past summer I had the privilege of being a part of the Angular Team at Google, where I worked on source code indexers. I developed an Angular indexer for Google’s codebase, enabling the features of a language service for static files in a repository. As part of this work, I added a new semantic…

How to Contribute to an Open Source Project

September 9th, 2019

The following is going to get slightly opinionated and aims to guide someone on their journey into open source. As a prerequisite, you should have basic familiarity with the command line and Git. If you know the concepts and want to dive right into the step by step how-to guide, check out this part of…

OpenSSL security releases may require Node.js security releases

September 5th, 2019

Summary The Node.js project may be releasing new versions across all of its supported release lines early next week to incorporate upstream patches from OpenSSL. Please read on for full details. OpenSSL The OpenSSL project announced this week that they will be releasing versions 1.0.2t and 1.1.1d on the 10th of September, UTC. The releases…

Learn Design for Developers and SVG Animation with Sarah Drasner ✨💖

September 5th, 2019

Have you checked out Sarah Drasner’s courses yet? She has two awesome courses on Design for Developers and SVG! Plus another introducing Vue.js! Design for Developers In the Design for Developers course, you’ll learn to become self-sufficient throughout the entire lifecycle of the project — from concept to design to implementation! You’ll learn to… Code…

Model-Based Testing in React with State Machines

September 4th, 2019

Testing applications is crucially important to ensure that the code is error-free and the logic requirements are met. However, writing tests manually is tedious and prone to human bias and error. Furthermore, maintenance can be a nightmare, especially when features are added or business logic is changed. We’ll learn how model-based testing can eliminate the…