Ten JavaScript #221 — Closures, Array functions, event delegation, and more

TENJAVASCRIPT #221

Know someone who might benefit from this email? Forward it! Newbies, subscribe here.

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.

#Concepts

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.

#Functional #Concepts

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.

#Concepts

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.

#Video #Vue

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.

#Approach

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.

#Concepts

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.

#WebAPI

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 …

#React

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.

#Server-side

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.

#Server-side #Security

📺 Strict Mode Screencasts

JS-focused screencast series. Videos come up every week exploring and explaining JavaScript language features, libraries, frameworks, and sometimes even entirely new programming languages for the Web. Find the latest issue here. — I.

Don't want to receive emails like this? Unsubscribe.


unsubscribe

Older messages

Ten JavaScript #220 — Debounce explained, generators, and more

Friday, July 10, 2020

TENJAVASCRIPT #220 Know someone who might benefit from this email? Forward it! Newbies, subscribe here. Debounce Explained – How to Make Your JavaScript Wait For Your User To Finish Typing The most

Ten JavaScript #219 — TypeScript 4, New Chrome DevTools, and more

Friday, June 26, 2020

TENJAVASCRIPT #219 Know someone who might benefit from this email? Forward it! Newbies, subscribe here. What's coming in TypeScript 4? TypeScript 4 is coming up fast: a first beta release is

Ten JavaScript #218 — Bootstrap 5, GitHub Actions auto deployment, and more

Friday, June 19, 2020

TENJAVASCRIPT #218 Know someone who might like this email? Forward it! Newbies, you can always subscribe here. 1. Bootstrap version 5 alpha is officially here! What's new? The first alpha version

Ten JavaScript #217 — Brief History of JS, generative art, and more

Friday, June 12, 2020

TENJAVASCRIPT #217 Know someone who might like this email? Forward it! Newbies, you can always subscribe here. 1. How to Use Recursive Components in React to Display Deeply Nested Data I'm sure you

Ten JavaScript #216 — Making Vue 3, Microsoft improving PWA, and more

Friday, May 29, 2020

TENJAVASCRIPT #216 Know someone who might like this email? Forward it! Newbies, you can always subscribe here. 1. The process: Making Vue 3 Over the past year, the Vue team has been working on the next

You Might Also Like

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power