Building — and adopting — a component library in the context of a vibrant business is no easy feat. Here are a few things we’ve learned.
At a small …
Mocks are a great way of preventing AJAX calls in tests, but they can also help you isolate side effects and impurities that can create complicated tests.
As you learned …
Let’s convert a mock API endpoint for signing up new users in a mobile app into using the action pattern.
I’ve been exploring a couple of different options when it comes to serverless authentication providers, and I was both pleased and surprised to find how little …16m 1
Last year I gave a presentation about Modular Design and here’s a transcript.29m 4
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