Posts tagged “decorators”
4 posts found
TypeScript Decorators Done Right: Migrating from Legacy to the TC39 Standard
July 8, 2026
Most decorator migration failures stem from treating TC39 standard decorators as a drop-in replacement. The API changed fundamentally—here's how to convert experimentalDecorators without breaking production.
TypeScript Decorators Are Finally Stable: Real-World Use Cases Beyond Classes
June 30, 2026
Stage 3 decorators bring runtime metadata, validation, and dependency injection patterns to production TypeScript. The performance trade-offs matter more than the syntax sugar.
TypeScript Decorators in 2026: Practical Use Cases
May 22, 2026
Most TypeScript decorators fail in production because teams copy patterns without understanding the 5.0+ execution model. Here's how to build decorators that solve real problems.
Decorators in JavaScript
February 23, 2020
We'll be taking a look at some examples of decorators in JavaScript and create our own decorator to see how it can be useful to our code