
"Uncaught (in promise)": why your async error disappears from the console
The difference between a thrown exception and an unhandled promise rejection, why a surrounding try/catch sometimes doesn't help, and how to catch async errors correctly.
News and articles on Web Development, Node.js, Fastify, React and cybersecurity.

The difference between a thrown exception and an unhandled promise rejection, why a surrounding try/catch sometimes doesn't help, and how to catch async errors correctly.

shadcn/ui isn't a component library like the others: you don't install it, you copy it. How the CLI works, what Radix UI and Tailwind do under the hood, and when it's actually worth using.

Why 'TypeError: Cannot read properties of undefined (reading ...)' happens, the three most common causes, and how optional chaining and nullish coalescing prevent it.

Why you used to need Array.from() before mapping/filtering an iterator, the new lazy iterator helper methods, and a practical example with an infinite generator.

TypeScript 7.0 rewrites the compiler in Go: 8-10x faster builds, new defaults, and breaking changes. What to expect from TypeScript 7.1 too, landing in November 2026.

A practical migration cheatsheet: how to do formatting, parsing, arithmetic, diffing, comparison, and time zone conversion in Temporal, mapped directly to the Moment/date-fns/Luxon/dayjs calls you already know.

The problem of forgetting to close a resource on an early exception, how Symbol.dispose/Symbol.asyncDispose work, and a practical example compared to try/finally.

What this warning means, the two patterns that trigger it (derived state, callback refs), and how to move the update out of the render phase.

Why React throws 'Too many re-renders. React limits the number of renders...' and the two most common causes: setState in the render body and unstable effect dependencies.

What the call stack actually is, the two most common causes of a stack overflow in JavaScript, and how to convert deep recursion into an iterative version.

What's wrong with the legacy Date object, how Temporal fixes it, the core types (PlainDate, ZonedDateTime, Duration...), and where support stands in 2026.

Why let and const throw ReferenceError instead of returning undefined like var, what the Temporal Dead Zone actually is, and the patterns that trigger it by accident.

Why JSX won't render an object directly, the three real-world cases that trigger it (Date, error objects, Map/Set), and how to fix each one.

Server Components vs Client Components, the 'use client' and 'use server' directives, what runs where, and how they pair with Suspense and use().

React 19's new use() API overlaps with useContext but breaks the Rules of Hooks on purpose. Here's how they differ, with examples for context and promises.

A practical guide to joining the Lora Italia mesh network in Italy: recommended hardware, basic Meshtastic node setup, and how to show up on the map.

Differences between Meshtastic and Meshcore, the two most-used firmwares for building mesh networks over LoRa radio: routing, community, hardware, and when to pick each.

route.lazy in React Router blocks the URL/Outlet swap until the chunk is ready: why it happens, and how Component: lazy(...) gets an immediate swap.

What LoRa radio technology is, how its modulation works, how it differs from LoRaWAN, and its main use cases, from IoT to emergency mesh networks.

What Portainer is, how to install it in minutes, and how it stacks up against Docker Desktop, Rancher, Lens and Dockge.

A React Compiler bug where one component bails out of memoization while its sibling silently gets memoized, freezing UI fed by a stable object reference. Root cause and fix.

Why Babel and webpack-compiled code wraps some function calls in (0, ...)(), and what the comma operator has to do with the value of this.

TypeScript's satisfies operator explained with practical examples: why as and explicit annotations lose inference, and how satisfies solves the problem without trade-offs.

What an IIFE is, why it sometimes starts with !, + or void before function, and where it still shows up in JavaScript code today.

A practical guide to node:test, Node.js's built-in test runner: zero-dependency setup, basic syntax, mocking, coverage, and what's still missing compared to Jest.

A practical comparison between Fastify and Express in 2026: performance, plugin architecture, schema-based validation, ecosystem maturity, and when to pick one over the other.

What the React Compiler actually does, when useMemo and useCallback become unnecessary, and why the Rules of React matter more than before.

What main thread blocking is, how to create a Web Worker to move heavy computation off the UI, and when you don't actually need one.

Why unsafe-inline isn't enough, how CSP nonces and hashes work for a static site, what strict-dynamic is, and what Trusted Types is for.

How to use AbortController and AbortSignal to cancel fetch requests and other async operations, avoiding race conditions and wasted network calls.

How the WebAuthn protocol behind passkeys works — public keys, attestation, a practical example — and why they're not just a more convenient alternative to passwords.

What LCP, CLS and INP actually measure, why your local Lighthouse often lies, and the real fixes applied on this blog to get past it.
A practical guide to Fastify with TypeScript: routing, schema validation, and plugin architecture, to build a fast, typed REST API from scratch.

A complete guide with JavaScript and TypeScript examples on UUID v4/v7, ULID, NanoID and CUID2.

Security updates for Node.js 25.x, 24.x, 22.x and 20.x: 3 high-severity vulnerabilities, 4 medium and 1 low. Here is what they fix and how to update.

wpdockerize is an npm package for creating a Docker stack for WordPress

Having trouble getting Google Chrome to connect to local servers, e.g. .local addresses? Here is how to fix it

What javascript:void(0) is and what it's for, with a few simple examples

How JavaScript Proxies work, some code examples, and how to use them for reactivity in JS

A simple guide to decorators in JavaScript with practical examples

A small web app for resizing images for social networks (Facebook, Instagram, LinkedIn, TikTok)

How to correctly set slashes in URLs and canonical HTML tags for Astro-based applications
Snippet to extract the list of Dashicons names from the WordPress documentation page

Let's look at a few examples of how React 19's new useActionState and useFormStatus hooks work

How Error Boundaries work in React: components that catch errors from their children to improve your app's stability and reliability.

Difference and examples between debounce and throttle for events in JavaScript

How to correctly handle event handlers in React, including events on window like resize and scroll, avoiding the most common mistakes.

Content Security Policy, or CSP, is a set of rules that tell the browser how to behave when loading the content of our HTML page.

How stopPropagation and preventDefault work in JavaScript to control event propagation and the browser's default behavior.

The new NoInfer<T> utility introduced in TypeScript 5.4 to control generic type inference, with practical examples.

A mnemonic trick to remember the parameters of git log --all --decorate --oneline --graph: think of the phrase A Dog.

A practical guide to React's useReducer hook: how it works, when to prefer it over useState, and a complete example for managing complex state.

How to request information about an HTTP resource without downloading its body

How the useContext hook works in React to share data between components without props drilling, with a practical step-by-step example.

The most common mistakes to avoid when using React hooks: conditional calls, order, nested functions, and how to recognize them.

How to safely update your Portainer instance with a simple bash script, without losing containers or volumes.

How to combine useContext and useState in React to share state and its update function between components, with a live example.

During normal browsing on YouTube, at some point, the antivirus Avast reported something that was not good