Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - JavaScript
Calendar · NOV 2026
‹ Nov 2026 ›
  1. JAN
  2. FEB
  3. MAR
  1. APR
  2. MAY
  3. JUN
  1. JUL
  2. AUG
  3. SEP
  1. OCT
  2. NOV
  3. DEC
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Favorites (0)

News stream

News

Building a Locale Switcher That Respects hreflang and User Choice

Language switchers look trivial: a dropdown with flags. In practice they are where many multilingual sites break their own SEO and annoy users at the same time. This post outlines a switcher design that keeps search engines and humans happy, with…

devto-javascript

The Hard Part of Leaving `request` is the App Built Around It

Disclosure: I maintain request-to-axios. This is a migration guide from the perspective of someone maintaining legacy Node.js code, not an independent review of my own package. When a project uses request, replacing the dependency can look like a…

devto-javascript

Create a Meditation App with AI-Generated Voice

Why a Meditation App Needs a Good Voice If you’ve ever tried a guided meditation on a cheap text‑to‑speech (TTS) engine, you know the difference a natural‑sounding voice makes. A soothing, human‑like voice can keep users relaxed, improve retention,…

devto-javascript

Transparent Image Fallback System with Canvas API

Transparent Image Fallback System with Canvas API Understanding the Need for a Fallback System Transparent images are essential for creating layered designs on the web. However, not all browsers or environments support full transparency, which can…

devto-javascript

Building a third-party embed that survives any host page

We publish Regime Map, a country-by-country register of gambling regulation. The people who write about the subject, lawyers and journalists mostly, need the same picture we already draw: which countries license online casino and which don't. So we…

devto-javascript

Log inside a loop without touching the code

Loops are where console.log goes to multiply. One log per pass is fine for 8 passes and useless for 8,000. Here are the techniques I reach for, from "edit the code" to "don't touch it at all". The loop we'll debug finds spikes in a list of readings:…

devto-javascript

My security scanner gave Epic Stack 0/100. The scanner was wrong.

I maintain CodeDiag, a CLI that scans a Node.js project and tells you which API routes have no recognizable auth check or input validation. It's deterministic: no LLM, no account, and with --no-audit it never touches the network. Before releasing…

devto-javascript

The browser title was correct. The Open Graph title wasn’t.

On 1 November 2026, an audit of the StackEndBox homepage found a small inconsistency that a browser-tab check had missed. The HTML title already contained the company name. The Open Graph and Twitter titles still said “We design and build the…

devto-javascript

React Use Mobile Hook: SSR-Safe, No Hydration Mismatch

TL;DR A React use mobile hook returns false on the server because the server has no screen: it renders the HTML before any browser reports a width, and hydration has to repeat that guess. Switch visible layout with CSS breakpoints, which apply at…

devto-javascript

One Thread, 10,000 Users: Async and Event Loops Explained

Originally published on Medium. This server has one thread. Ten thousand people are using it right now, and none of them are waiting. Give each of those users their own thread instead, and the same server runs out of memory and falls over. So how…

devto-javascript

Brightness, Contrast, and Saturation Change Different Numbers

A photo can be too dark, too flat, or too gray, and those are three different complaints. Brightness, contrast, and saturation each answer one of them. Turning the wrong one up is why a "brighter" edit sometimes looks milky, and why a "more…

devto-javascript

I built a fake courtroom for life's pettiest arguments

Look, we've all been there. Someone leaves two seconds on the microwave and doesn't hit clear. Someone eats the last slice of cold pizza with your name on the box. Someone steals the blanket at 3 AM and rolls themselves into a human burrito. In the…

devto-javascript

49 items available