Posts tagged “compiler”
3 posts found
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 6.0 Type-Only Imports Are Now Enforced: What verbatimModuleSyntax Actually Breaks in Real Codebases
August 10, 2026
The verbatimModuleSyntax flag eliminates elision guessing, but it breaks mixed import statements, re-exports, and side-effect modules in production codebases. Here's what actually fails and how to fix it.
typescriptmodule-syntaxtype-imports+2
React Compiler Is Stable: What It Actually Replaces and What It Does Not
June 2, 2026
The React Compiler automates memoization but doesn't eliminate manual optimization. Learn exactly what it replaces, what it misses, and when you still need useMemo.
reactperformancecompiler+2