Proper state handling in React will make your components simple and maintainable. Poor choices will give you lots of headaches in the long-term.
There are plenty of …
This story — about all the things that could, and do, go wrong in software design and development — is an incredibly important cautionary tale about the …
Last year I gave a presentation about Modular Design and here’s a transcript.
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
This article explores how template literals are strictly better than strings, and how they too should become the new default of a post-ES6 era – over single and double quoted strings.14m 34
The Web Audio API is a very powerful feature available in modern browsers today, boasting a rich set of functionality. In this exploration, we’ll be looking at …14m 2
There’s a number of different ways we can ensure class methods have access to
this. After some controversy on Twitter last week, we quickly go over the most …5m 11
Quite a few challenges have been found with using server-side sessions in modern-day applications. In this post, we’ll identify those challenges and explain how JWT and sessions work in practice.9m 14
This article explains the challenges I went through and how I ended up implementing a two-way synchronization between the web application and a git repository for the articles.12m 2