Skip to content
jsmanifest logojsmanifest

Posts tagged “javascript”

171 posts found

TC39 `using` Declarations Land in V8 13: What Node.js 24 Developers Get for Free Without TypeScript

TC39 `using` Declarations Land in V8 13: What Node.js 24 Developers Get for Free Without TypeScript

November 14, 2026

V8 13 ships TC39's Explicit Resource Management proposal. Node.js 24 developers get deterministic cleanup without TypeScript, `try`/`finally` blocks, or memory leaks.

javascriptnodejsresource management+2
TypeScript `keyof typeof` in 2026: Practical Patterns for Enum-Like Objects and Config Maps

TypeScript `keyof typeof` in 2026: Practical Patterns for Enum-Like Objects and Config Maps

November 10, 2026

Master keyof typeof to build type-safe config objects, route maps, and registries. Learn when this pattern beats enums and where runtime validation takes over.

typescripttype-safetyconfig-objects+1
TypeScript `Map` and `Set` Iteration in 2026: Why `downlevelIteration` Still Breaks Production Builds

TypeScript `Map` and `Set` Iteration in 2026: Why `downlevelIteration` Still Breaks Production Builds

November 9, 2026

The downlevelIteration flag controls how TypeScript transpiles Map, Set, and array iteration to older JavaScript. Production builds still break without it because the default transpilation produces index-based loops that fail on iterables. Here's what actually happens and when you must enable it.

TypeScriptBuild ConfigurationJavaScript+1
TypeScript `const` Enums Are Deprecated: What to Migrate to and Why the Compiler Team Made the Call

TypeScript `const` Enums Are Deprecated: What to Migrate to and Why the Compiler Team Made the Call

November 6, 2026

The TypeScript compiler team deprecated const enums because they break isolated module compilation and cause runtime errors in modern build pipelines. Learn the technical reasons, migration strategies to union types and const objects, and why the deprecation protects codebases from silent failures.

typescriptmigrationcompiler+2
TypeScript Function Overloads in 2026: When They Clarify and When They Mislead the Caller

TypeScript Function Overloads in 2026: When They Clarify and When They Mislead the Caller

November 5, 2026

Function overloads promise precise type inference, but first-match resolution and order dependency create maintainability traps. This guide shows when overloads clarify intent and when union types deliver better outcomes.

typescriptfunction overloadstype safety+2
TypeScript globalThis Typing in 2026: Safely Adding Properties to the Global Scope Without any

TypeScript globalThis Typing in 2026: Safely Adding Properties to the Global Scope Without any

November 4, 2026

Master TypeScript's declaration merging to type globalThis properties without any. Learn when each pattern breaks, how module context affects global declarations, and better alternatives for most use cases.

typescriptglobalThistype safety+2
TypeScript @throws JSDoc and Error Typing in 2026: Why Exceptions Are Still Untyped and What to Do About It

TypeScript @throws JSDoc and Error Typing in 2026: Why Exceptions Are Still Untyped and What to Do About It

November 3, 2026

TypeScript still does not type exceptions. Learn why @throws JSDoc exists without enforcement, how to build type-safe error handling without language support, and practical patterns for production codebases.

typescripterror handlingjsdoc+2
TypeScript namespace Merging With Classes: The Companion Pattern and When It Beats a Plain Object

TypeScript namespace Merging With Classes: The Companion Pattern and When It Beats a Plain Object

October 20, 2026

Learn how TypeScript namespace merging creates companion objects that group class-related utilities without polluting the prototype or global scope.

typescriptnamespace mergingcompanion pattern+2
TypeScript PropertyKey vs string | number | symbol: When the Distinction Actually Matters

TypeScript PropertyKey vs string | number | symbol: When the Distinction Actually Matters

October 14, 2026

Most TypeScript codebases treat PropertyKey and string | number | symbol as interchangeable. The subtle semantic difference breaks type inference in Proxy handlers, Reflect operations, and generic object utilities.

typescripttype-safetyjavascript+1
Node.js 24 Built-In SQLite: Replacing better-sqlite3 in Scripts and Edge Workers Without a Native Module

Node.js 24 Built-In SQLite: Replacing better-sqlite3 in Scripts and Edge Workers Without a Native Module

October 10, 2026

Node.js 24 ships with native SQLite support. Understand when the built-in node:sqlite module can replace better-sqlite3 in production scripts and edge workers, and when the native module still wins.

nodejssqlitejavascript+2
TC39 Float16Array Is Baseline 2026: What JavaScript Developers Need for ML and Graphics Workloads

TC39 Float16Array Is Baseline 2026: What JavaScript Developers Need for ML and Graphics Workloads

October 9, 2026

Float16Array reached Stage 4 and Baseline 2026. Learn when 16-bit floats matter for WebGPU machine learning, HDR graphics, and binary data pipelines — and when they cause silent precision loss.

JavaScriptTypeScriptPerformance+2
TypeScript 6.0 `--checkJs` With Full Strict Mode: Migrating Mixed JS/TS Repos Without a Flag Day

TypeScript 6.0 `--checkJs` With Full Strict Mode: Migrating Mixed JS/TS Repos Without a Flag Day

October 3, 2026

Master TypeScript 6.0's enhanced `--checkJs` to incrementally enforce strict mode on JavaScript files without breaking CI or forcing a big-bang migration.

typescriptmigrationjavascript+1
Oxc Parser in 2026: The Rust-Powered AST Tool That Is Making Babel Replaceable for Real Codebases

Oxc Parser in 2026: The Rust-Powered AST Tool That Is Making Babel Replaceable for Real Codebases

September 27, 2026

Oxc Parser delivers 3x faster parsing than SWC and 20x faster than Babel while maintaining full-fidelity AST representation. Production teams are replacing Babel with Oxc for linting, transformation, and tooling workflows today.

oxcrustjavascript+5
TC39 Iterator Helpers Are Now Baseline 2026: Replace Your Lodash Chains With Native Lazy Iteration

TC39 Iterator Helpers Are Now Baseline 2026: Replace Your Lodash Chains With Native Lazy Iteration

September 20, 2026

Iterator helpers shipped in ES2025 and reached Baseline 2026. They eliminate intermediate arrays, run lazily by default, and replace most Lodash chains with native JavaScript. Teams can drop dependencies and ship faster code.

javascriptes2025performance+1
React startTransition Without useTransition: The Standalone API Teams Keep Overlooking in Concurrent Mode

React startTransition Without useTransition: The Standalone API Teams Keep Overlooking in Concurrent Mode

September 11, 2026

Most teams reach for useTransition by default, missing React's standalone startTransition export that unlocks concurrent scheduling outside components—in event handlers, third-party stores, and synchronous callbacks where hooks cannot exist.

reactstarttransitionconcurrent mode+2
TypeScript `object` vs `{}` vs `Record<string, unknown>`: Which Type Actually Means What You Think

TypeScript `object` vs `{}` vs `Record<string, unknown>`: Which Type Actually Means What You Think

September 7, 2026

Most TypeScript type bugs stem from confusion between `object`, `{}`, and `Record<string, unknown>`. Each accepts radically different values. This post explains the actual behavior and shows when to use each type in production code.

typescripttype safetyobject types+2
TypeScript Access Modifiers in 2026: Why `private` Fields Beat `#` and When the Opposite Is True

TypeScript Access Modifiers in 2026: Why `private` Fields Beat `#` and When the Opposite Is True

September 2, 2026

The compile-time versus runtime privacy debate ends here. Learn when TypeScript's `private` modifier wins, when ECMAScript `#` fields dominate, and how to choose the right pattern for your production codebase.

typescriptjavascriptaccess modifiers+2
TypeScript `symbol` and Unique Symbols in 2026: The Underused Feature That Prevents Key Collisions

TypeScript `symbol` and Unique Symbols in 2026: The Underused Feature That Prevents Key Collisions

August 31, 2026

Most runtime key collision bugs stem from string keys treated as unique when they are not. TypeScript's symbol and unique symbol types provide compile-time guarantees that prevent accidental interchangeability and eliminate an entire class of identity errors.

typescriptsymbolstype safety+2
TypeScript Proxy and Reflect With Full Type Safety: Patterns That Do Not Lie to the Compiler

TypeScript Proxy and Reflect With Full Type Safety: Patterns That Do Not Lie to the Compiler

August 27, 2026

Most Proxy implementations sacrifice type safety for runtime flexibility. This guide shows the patterns that preserve complete type inference while using Proxy and Reflect APIs.

typescriptproxyreflect+3
TypeScript WeakRef and FinalizationRegistry: Type-Safe Patterns for Memory-Sensitive Caches

TypeScript WeakRef and FinalizationRegistry: Type-Safe Patterns for Memory-Sensitive Caches

August 24, 2026

Production-ready patterns for building memory-sensitive caches with TypeScript's WeakRef and FinalizationRegistry APIs—avoiding memory leaks while maintaining type safety.

typescriptmemory managementjavascript+1
TypeScript Intersection Types Done Right: When They Compose Cleanly and When They Silently Lie

TypeScript Intersection Types Done Right: When They Compose Cleanly and When They Silently Lie

August 12, 2026

Most TypeScript composition failures stem from misunderstanding intersection types. Learn when they compose cleanly, when they produce never, and how to avoid the silent lies that break production code.

typescripttype safetyjavascript+1
TypeScript Awaited<T> and Deep Promise Unwrapping: Patterns for Async Type Inference That Actually Work

TypeScript Awaited<T> and Deep Promise Unwrapping: Patterns for Async Type Inference That Actually Work

August 7, 2026

Master TypeScript's Awaited<T> utility type for recursive promise unwrapping. Learn when it fails, how to combine it with generics, and the patterns that prevent async type inference errors in production.

typescriptawaitedpromise unwrapping+2
TypeScript Enums Are Still Controversial in 2026: Here Is When to Use Them and When to Reach for const Objects

TypeScript Enums Are Still Controversial in 2026: Here Is When to Use Them and When to Reach for const Objects

August 6, 2026

TypeScript enums remain divisive after a decade. This guide breaks down when enums make sense, when const objects are superior, and how to migrate between them without breaking production.

typescriptenumstype-safety+2
TypeScript Strict Null Checks in 2026: Real-World Patterns for Handling `undefined` Without the Noise

TypeScript Strict Null Checks in 2026: Real-World Patterns for Handling `undefined` Without the Noise

August 5, 2026

Master strict null checks in TypeScript with battle-tested patterns that eliminate runtime null errors without drowning your codebase in defensive checks.

typescripttype safetyjavascript+2