Lazy Load Background Images with the IntersectionObserver API - https://www.debugbear.com/blog/lazy-load-background-images-intersection-observer
#javascript
#javascript
Debugbear
Lazy Load Background Images with the IntersectionObserver API | DebugBear
The IntersectionObserver API is a performance-friendly browser API that allows you to lazy load background images asynchronously, outside of the main thread. This tutorial looks into how to implement it using HTML, CSS, and JavaScript.
👍2
Variable Naming Best Practices in JavaScript
12 variable naming conventions and best practices in… - https://javascript.plainenglish.io/variable-naming-best-practices-in-javascript-94af115f42cd
#javascript
12 variable naming conventions and best practices in… - https://javascript.plainenglish.io/variable-naming-best-practices-in-javascript-94af115f42cd
#javascript
Medium
Variable Naming Best Practices in JavaScript
12 variable naming conventions and best practices in JavaScript.
👍2❤1
Ecma International Approves ECMAScript 2025: What’s New?
The Ecma General Assembly has approved the ES2025 language specification, which you can read in full here, or you can enjoy Dr. Axel’s more succinct explainer instead. - https://2ality.com/2025/06/ecmascript-2025.html
#javascript
The Ecma General Assembly has approved the ES2025 language specification, which you can read in full here, or you can enjoy Dr. Axel’s more succinct explainer instead. - https://2ality.com/2025/06/ecmascript-2025.html
#javascript
2Ality
Ecma International approves ECMAScript 2025: What’s new?
On 25 June 2025, the 129th Ecma General Assembly approved the ECMAScript 2025 language specification (press release, GitHub release), which means that it’s officially a standard now. This blog post explains what’s new.
👍4❤2
The Many, Many, Many JavaScript Runtimes of the Last Decade
A meaty article (which took a year to put together) covering the myriad of JavaScript runtimes and engines both past and present, from obvious picks like Node.js to cloud platforms and lesser known ‘honorable mentions’. This is a great summary to round out your JS ecosystem knowledge. - https://buttondown.com/whatever_jamie/archive/the-many-many-many-javascript-runtimes-of-the-last-decade/
#javascript
A meaty article (which took a year to put together) covering the myriad of JavaScript runtimes and engines both past and present, from obvious picks like Node.js to cloud platforms and lesser known ‘honorable mentions’. This is a great summary to round out your JS ecosystem knowledge. - https://buttondown.com/whatever_jamie/archive/the-many-many-many-javascript-runtimes-of-the-last-decade/
#javascript
Buttondown
The many, many, many JavaScript runtimes of the last decade
This last decade has seen an inundation of new JavaScript runtimes (and engines in equal measure), enabling us to run JavaScript in all manner of contexts...
👍1
Writing a Tiny Undo/Redo Stack in JavaScript
You might prefer to lean upon an established approach (using Immer patches perhaps), but if you want to implement something small yourself, this might help. - https://blog.julik.nl/2025/03/a-tiny-undo-stack
#javascript
You might prefer to lean upon an established approach (using Immer patches perhaps), but if you want to implement something small yourself, this might help. - https://blog.julik.nl/2025/03/a-tiny-undo-stack
#javascript
Julik Tarkhanov
UI algorithms: a tiny undo stack
I’ve needed this before - a couple of times. Third time I figured I needed something small, nimble - yet complete. And - at the same time - wondering about how to do it in a very simple manner. I think it worked out great, so let’s dig in. Most UIs will have…
👍1
When to Use map() vs. forEach() - https://allthingssmitty.com/2025/04/21/when-to-use-map-vs-foreach/
#javascript
#javascript
Allthingssmitty
When to use map() vs. forEach() - Matt Smith
Learn the key differences between map() and forEach() methods in JavaScript, when to use each, and why map() is often the better choice for transforming data and writing cleaner, more functional code.
❤2
Building an Offline-Friendly Image Upload System
How to leverage PWA tech such as IndexedDB, service workers, and the Background Sync API to help improve the reliability of web apps for users, particularly those with unreliable internet connectivity. - https://www.smashingmagazine.com/2025/04/building-offline-friendly-image-upload-system/
#javascript
How to leverage PWA tech such as IndexedDB, service workers, and the Background Sync API to help improve the reliability of web apps for users, particularly those with unreliable internet connectivity. - https://www.smashingmagazine.com/2025/04/building-offline-friendly-image-upload-system/
#javascript
Smashing Magazine
Building An Offline-Friendly Image Upload System — Smashing Magazine
Poor internet connectivity doesn’t have to mean poor UX. With PWA technologies like `IndexedDB`, service workers, and the Background Sync API, you can build an offline-friendly image upload system that queues uploads and retries them automatically — so your…
👍1
I Think the Ergonomics of Generators is Growing on Me
The author notes generator functions have been widely available in JavaScript for a long time, yet “their practicality hasn’t exactly caught on.” This is a great look at what they are and where they can be useful. - https://macarthur.me/posts/generators/
#javascript
The author notes generator functions have been widely available in JavaScript for a long time, yet “their practicality hasn’t exactly caught on.” This is a great look at what they are and where they can be useful. - https://macarthur.me/posts/generators/
#javascript
Alex MacArthur
I think the ergonomics of generators is growing on me.
I took a stab at getting more familiar with iterators, iterables, and generators. I think I'm starting to like the ergonomics.
👍2