Posts tagged “decorators”
3 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.
typescriptdecoratorstc39+2
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.
typescriptdecoratorsjavascript+2
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
javascriptdecoratorscomposition+1