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

Native ES6 modules in Chrome, flatMap, Headless Chrome, npm vs yarn vs pnpm, and more


Full-Scale JavaScript is now renamed to Weekend JavaScript. Because... well, because that's what it is. A collection of awesome JavaScript reads for your weekend. Hope you enjoy it even more now :)

HEADLINES

Huge news: Native ECMAScript modules are implemented in Chrome 60!

ESM implementation is in all the major browsers!🎉


MODERN JAVASCRIPT

Functional pattern: flatMap | Dr. Axel Rauschmayer

In this blog post, we look at the operation flatMap, which is similar to the Array method map(), but more versatile.


GETTING STARTED

Getting Started with Headless Chrome | Eric Bidelman

Headless Chrome is a way to run the Chrome browser in a headless environment. Essentially, running Chrome without chrome! It brings all modern web platform features provided by Chromium and the Blink rendering engine to the command line.


REACT

45% Faster React Functional Components, Now | Philippe Lehoux

Directly calling functional components as functions instead of mounting them using React.createElement is much faster.


FormidableLabs/freactal: Clean and robust state management for React and React-like libs.

freactal is a composable state management library for React.


OPINION

Why I’m Moving on to Web Components and Not Looking Back

Even though I have only been doing web development for four years, it appears to have been the most tumultuous four years in the history of the discipline. When I started out, all-in-one frameworks…


Why TypeScript Is Growing More Popular | Mary Branscombe

Why is TypeScript getting so popular? Key development frameworks depend on it and it improves developer productivity in the ever-changing JavaScript world.


LEARN HOW IT WORKS

Understanding differences between npm, yarn and pnpm | Alex Kras

I’ve spent the past week reading up on npm, yarn, and pnpm and wanted to summarize and share my findings. My target audience is regular npm users, like myself, that didn’t invest time to look into how various npm alternatives stack up. I will only focus on top three (for me) and will not be covering: ied, npm-install and npmd etc, because I don’t know anything about them.


WORKFLOW/TOOLS

Learn To Code With Style: Use Linters! | Theodo

Are you tired of always writing the same comments on others pull requests? Are you tired of always reading the same comments on your pull requests? Stop wasting time, here’s the solution.