10 fresh write-ups from the JavaScript world. Comes out every Friday (or Saturday if I'm overloaded).

1185 subscribed.

What the fuck is a closure?

By the time most people approach closures, they have already used them unknowingly many times — and it is likely that this is true for yourself, too. So learning closures is less about understanding a new concept and more about recognizing something you have already been doing for a while.


Array Functions and the Rule of Least Power – Pursuit of Laziness

It's therefore interesting that some people say say that the 'functional' array functions like .filter, .map, and .reduce are powerful compared to their crude for-loop alternatives. I would say the opposite: they are far less powerful, and that's the point.


A Simple Explanation of Event Delegation in JavaScript

The event delegation is an useful pattern to listen for events on multiple elements using just one event handler.


Animated Navigation with Vue - YouTube

Animated navigation with Vue JS. Are you looking for a way to build and animate fancy navigations with Vue JS? Today I'm going to show you how you can build this awesome animated navigation. The entire content is reduced and moved to the right side when you open the navigation.


Generating UUIDs at scale on the Web

Is it possible to generate a billion unique identifiers per day in the browser? At Teads, we have tried, and the answer is yes - if you ignore bots and bugs. This article describes the experiments we've run and the discoveries we made along the way.


The traversal order of object properties in ES6

The ECMAScript 6 specification defines in which order the properties of an object should be traversed. This blog post explains the details.


Web Monetization · A JavaScript browser API which allows the creation of a payment stream from the user agent to the website

The ability to transfer money has been a long-standing omission from the web platform. As a result, the web suffers from a flood of advertising and corrupt business models. Web Monetization provides an open, native, efficient, and automatic way to compensate creators, pay for API calls, and support crucial web infrastructure.


A look at React Router 6

The release of React router version 6 is just around the corner. I thought it was time to take a good look at it …


Next.js: Server-side Rendering vs. Static Generation – Vercel

Next.js is a React framework that supports pre-rendering. Instead of having the browser render everything from scratch, Next.js can serve pre-rendered HTML in two different ways.


Protecting Your API from Brute Forcing By Rate Limiting in NodeJS

Brute forcing is the most common cybersecurity attack. To avoid facing downtime and potentially leaking user credentials, rate limiting should be implemented on every public-facing API.

Even Older Issue →