Exploring a pattern useful for building top-level, centralised functionalities in React apps.
Testing can be simple. In fact, it is simple. Well, it is simple until impurities slip in.
Code that would be easy to test becomes a nightmare as soon as you get impure …
Stop wondering if GraphQL is right for you and give it a spin! Learn about types, queries, and mutations in this in-depth walkthrough.
An impressively low-level article that we hope gives you a good idea about what happens in V8 when it comes to optimization.24m 4
- a minute 7
A human decides to open a new tab in their favorite web browser and they then google for “cat in a pickle gifs”. What happens next will shock you!3m 2
Images are crucial to website performance, but most sites still don’t implement responsive images. Cloudinary provides an alternative to
sizeswhen implementing responsive images.5m 8
We discuss how
Object#toStringperforms in the V8 engine, why it’s important, how it changed with ES2015 symbols, and how to speed it up.12m 1
Last month, I was interviewed after delivering a presentation on ECMAScript to an audience in Shenzhen, China. I think it was an entertaining interview, so here’s a transcript.6m 0
There’s a proposal in stage 1 for the Null Propagation operator. In this article we’ll take a look at the proposal, which offers an alternative to null …5m 25
Let’s take a look at how we can quickly hash out a correct two-factor authentication (2FA) solution for our web applications. First off, let’s work out the …12m 2
Last week, I gave a presentation at Tencent Frontend Conference in Shenzhen, China. For this article, I’ve adapted its transcript.27m 10
In this article we’ll take a look at regular expressions improvements in and after ES6. We’ll discuss the
/sflags, named capture groups, unicode property escapes, lookbehind assertions, and
As it turns out, iterators can be written using generators. This can lead to some interesting use cases.5m 6
There’s an ECMAScript proposal for Observables in the works. In this article we explore the proposal, the API, and look at a few use cases.
Observables in …6m 11
constonly means that the variable will always have a reference to the same object or primitive value, because that reference can’t change.2m 5
Content-Security-Policyheader is a bit frightening — will I break my website if I suddenly start blocking requests for external resources? In this article we go over a gradual approach to adopting CSP.16m 3
When reading a piece of code, others can take cues from these signals in order to better understand what we did. ES6 offers
constas new flavors of variable declaration, are they better signals than
Help your team avoid some bad habits that can drive good teams to write terrible code.8m 5
Another year, another review of how Pony Foo did in its latest twelve months online!6m 1
For the past few days I’ve been working on a data visualization that displays Elasticsearch node distribution across different cloud instances and zones.19m 2
With so many other commitments to deal with, it can be hard to find time to work on side projects. In this article, I discuss the need for carving out a chunk of time to …2m 5
- 8m 4
There’s a proposal in the works to simplify asynchronous iteration even further.
The Asynchronous Iteration proposal is already in stage 2 and being heavily worked …4m 9