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

ECMA-262 aka ES2017, and other news


MODERN JAVASCRIPT

Standard ECMA-262

\* This is exactly what you think it is. ECMAScript 2017 standart.


ES8 was Released and here are its Main New Features 🔥

\* And here's a nice overview of what's new in it.


How to use Memoize to cache JavaScript function results and speed up your code | Divyanshu Maithani

Sometimes, a function can become expensive to call multiple times (say, a function to calculate the factorial of a number). But there’s a way we can optimize such functions and make them execute much faster: caching.


CASE STUDY

Reverse Engineering One Line of JavaScript | Alex Kras

Subject: Can you unroll and explain this 1 line of code to me? Body: Call me stupid but…I don’t understand it and would love a detailed explanation. It’s a ray tracer in 128 characters…. I think it’s amazing


Let's Dev: A Package Manager | Mael Nison

Hello everyone! Today, we’re gonna write a new package manager, even better than Yarn! Ok, maybe not, but at least we’re gonna have some fun, learn how packa...


Pre-rendering SPA for SEO and improved perceived page loading speed | Gajus Kuizinas

Google is claiming to be able to index content generated using JavaScript. I have had no such luck. I even made sure that Fetch as Google service is rendering the pages properly. Despite all of this effort, suggestions in the SERP continue to appear with no content, even after requesting Google to re-index the content.


Reducing CSS bundle size 70% by cutting the class names and using scope isolation | Gajus Kuizinas, freeCodeCamp

At the beginning of this year I have quit consulting and set out to build GO2CINEMA — Fast, simple and secure way to book cinema tickets in the UK. I have done a splendid job making it fast, simple and secure. Somewhere along the way, I’ve gotten obsessed with the critical rendering path optimization


Generating Images in JavaScript Without Using the Canvas API | Alastair Coote, The Guardian

At the lab, we’ve experimented a lot with the web Notification API. But mobile capabilities are always improving, and since our last experiment Google expanded their Notification API capabilities to add an image attribute, letting you use Android’s BigPictureStyle notification on phones. This is particularly interesting for us, since in previous experiments we had to cram data visualizations into the icon of the notification. Now, with a larger canvas to play with, we wondered what we could achieve.


OPINION

JavaScript really is overtaking the world | Chris Pearce, FED

According to various sources, including the Stack Overflow Developer Survey 2017, JavaScript is the most commonly used programming language on Earth and I do love it


The mobile web is awful, and everyone's to blame | Popmotion

From browser vendors to front end developers, everyone is implicated in the state of the mobile web.


Modern Software Over-Engineering Mistakes | RDX

Few things are guaranteed to increase all the time: Distance between stars, Entropy in the visible universe, and Fucking business requirements . Many articles say Dont over-engineer but don’t say why or how. Here are 10 clear examples.


LEARN HOW IT WORKS

HyperApp: The 1 KB JavaScript Library for Building Front-End Apps | Jorge Bucaran, SitePoint

HyperApp was born out of the attempt to do more with less. We have aggressively minimized the concepts you need to understand while remaining on par with what other frameworks can do. What makes HyperApp unique among the alternatives like React, Preact, and Mithril, is its compact API, built-in state management, and the unrivaled, small bundle size.


What the Thing? | Vignesh M

Point camera at things to learn how to say them in a different language.


GitHub - jaredreich/pell: 📝 the simplest and smallest (1kB) WYSIWYG text editor for web, with no dependencies

The simplest and smallest (1kB) WYSIWYG text editor for web, with no dependencies