Aricles related to

JavaScript


ES6: Create, modify and interact with Maps in JavaScript

In this post we're going to take a look at a new data structure introduced in ES6 called Map. The Map data structure is probably familiar to most people out there, either from other languages or the similarities to the JavaScript object literal. Now let's dive into how JavaScripts version…


React: Improve the performance by using PureComponents

In this post we're going to look at PureComponents in React. So what is a PureComponent? A PureComponent is just the same as a normal react component except for one thing — the implementation of shouldComponentUpdate. A PureComponent only does a shallow comparison of the props and state to decide if…


ES6: Working with Sets in JavaScript

In this post we're continuing to look at features introduced in ES6. Amongst all the cool things happening in ES6, we find a few new data structures — one of them being the Set. So what is actually a Set? A Set is a data structure that store unique values of…




Being asynchronous in JavaScript using Promises

This post is long overdue. Promises are something I've enjoyed working with the last couple of months. Not only is it a simple way of working asynchronously, but with the increasing amount of frameworks embracing it, it becomes easy to benefit from in your projects. So what is a Promise?…


ES6: 3 new ways of defining object properties in JavaScript

Repetitive boilerplate code is something that haunts most developers to some degree. It’s like an itch that can’t be scratched. It drags you away from the flow, it messes up your code, and it blurs away the important parts. What I love about ES6 is that it takes…