Tag Archives: javascript

Service Worker Gotchas

Osvaldas Valutis from kollegorna.se has written an in-depth article on Service Workers

Elsewhere , , Leave a comment

Connect multiple mobile screens together with Swip.js

What if all your mobile devices were a single screen? This probably isn’t the most common question to ask yourself. But, just for a second, actually think about it. Think about all the possibilities of being able to combine any … Continue reading

Elsewhere , , Leave a comment

Learning Vue

I haven’t checked out Vue myself yet (more into React 😉), but this five-part series by Sarah Drasner seems like a very solid start … Rendering, Directives, and Events Components, Props, and Slots Vue-cli and Lifecycle Hooks Vuex Animations Learning … Continue reading

Elsewhere , , Leave a comment

runes – Unicode-aware JS string splitting with full Emoji support

At Small Town Heroes I’m currently working on a newsreader app built using React Native. On Android (even 7.1.1) we noticed this weird issue where some emojis would render incorrectly when we were applying styling on it using index-based ranges: … Continue reading

Elsewhere , , , Leave a comment

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 , , Leave a 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