Tag Archives: javascript

Introduction to commonly used ES2015 (ES6) features

Good overview to get started with ES2015 by Zell Liew in case you’re still not using it (which you should; just do it!). As he puts it: JavaScript has progressed a ton in the recent years. If you’re learning JavaScript … Continue reading

Elsewhere , , Leave a comment

npm v5.0.0

This release marks months of hard work for the young, scrappy, and hungry CLI team, and includes some changes we’ve been hoping to do for literally years. npm@5 takes npm a pretty big step forward, significantly improving its performance in … Continue reading

Elsewhere , , Leave a comment

JavaScript Array#map(), reduce(), and filter()

In The Trouble With Loops I found these nice and simple examples covering Array#map(), Array#reduce(), and Array#filter(). const dollars = [32, 45, 50]; // map(): When you want to translate values in an array into another set of values. const … Continue reading

Elsewhere , , 1 Comment

JavaScript: From Callbacks to Promises to Async/Await in 7 seconds

A picture gif is worth a thousand words: ☝️ In case you do want a write-up, check out 6 Reasons Why JavaScript’s Async/Await Blows Promises Away (Tutorial) → (via)

Elsewhere , , Leave a comment

45% Faster React Stateless (Functional) Components

When using Stateless Components throughout your React app, the lifecycle events (componentWillMount, componentDidMount, etc.) are still executed. Developer Philippe Lehoux found a way to bypass these, resulting in a 45% speed improvement: What if we could skip React internals for … Continue reading

Elsewhere , , , Leave a comment

“Beau teaches JavaScript” — Learn JavaScript with this huge collection of free videos

Beau Carnes has released a massive collection of videos on JavaScript. My JavaScript Basics course is now live on freeCodeCamp’s YouTube channel. These videos are designed to quickly give you key information on each topic. Also, I designed them to … Continue reading

Elsewhere , , Leave a comment

Apple Live Photos for JavaScript Developers

In a rather surprising move Apple has released a JavaScript library to play Live Photos on the web on NPM: Use the LivePhotosKit JS library to play Live Photos on your web pages. The JavaScript API presents the player in … Continue reading

Elsewhere , , , Leave a comment

React VR – Build VR websites and interactive 360 experiences with React

React VR is a framework for the creation of VR applications that run in your web browser. It pairs modern APIs like WebGL and WebVR with the declarative power of React, producing experiences that can be consumed through a variety … Continue reading

Elsewhere , , , Leave a comment

Text Escaping and Unescaping in JavaScript with strutil

Today the package strutil came in handy, after receiving (*) this UTF-8 Quoted Printable text in my hands: =?UTF-8?Q?Test_=F0=9F=91=BB?= Thanks to strutil#unescapeFromMime() I was able to regain the original string: Test 👻 Upon further investigation of strutil it turns out … Continue reading

Elsewhere , , , Leave a comment

Copycat JavaScript Game

Fun little game in which you control more than one character at once in a level, all bound to the same controls. Using walls and other obstacles you can sync up the locations between characters in order for each character … Continue reading

Elsewhere , , , , Leave a comment