World Congress 2026 Europe - Virtual Stage Jul 5, 2026 Session details

Interior Decorating (TypeScript Decorators)

Michael Dowden

Stop polluting your business logic with boilerplate caching and logging code. TypeScript decorators elegantly extract these cross-cutting behaviors into clean, declarative runtime functions.

Pause
Mute Enter Fullscreen
#1 about 3 min

Introduction to TypeScript decorators and their core purpose

Decorators attach declarative behaviors to code at runtime without modifying the underlying implementation.

#2 about 4 min

Implementing memoization decorators for expensive calculations

Caching reusable function results through a single decorator prevents repetitive logic from cluttering stable functions.

#3 about 4 min

Measuring function and framework performance with decorators

Wrapping code with a custom decorator automatically logs component startup and execution times directly to the browser performance tools.

#4 about 3 min

Standardizing parameter validation and logging behaviors

Implementing decorators to automatically validate null inputs and log function parameters improves code readability and reduces repetition.

#5 about 3 min

Persisting browser state through property accessor decorators

Applying decorators to getter and setter methods enables automatic state synchronization with local storage.

#6 about 4 min

Configuring and defining functional method decorators

Building a custom method decorator requires enabling experimental features in configuration and manipulating property descriptor values.

#7 about 3 min

Handling asynchronous functions inside performance decorators

Resolving asynchronous promises before ending performance timers ensures accurate execution metrics for asynchronous methods.

#8 about 3 min

Creating decorator factories for configurable runtime behavior

Wrapping a decorator in a factory function allows passing runtime configuration parameters to control execution logic.

#9 about 3 min

Decorating accessors directly for state persistence operations

Modifying object getters and setters via decorators hooks directly into local storage interactions while preserving clean variables.

#10 about 4 min

Implementing class decorators for framework lifecycle monitoring

Creating a configurable class decorator allows automatic injection of performance markers across multiple framework lifecycle events.

#11 about 2 min

Reviewing practical decorator patterns and code project repository

Analyzing standard decorator templates highlights how reusable wrappers simplify complex operational logic across typical codebases.

Matching moments

2:47 min

Why TypeScript decorators prevent effective tree shaking

Stephen Cooper Stephen Cooper · World Congress 2025

4:18 min

Core design principles and features of TypeScript

Lars Hupel · World Congress 2022

3:08 min

Introduction to basic TypeScript capabilities and type annotations

Jens Claes · World Congress 2023

2:11 min

Comparing JavaScript variables to TypeScript type annotations

Peter Kröner Peter Kröner · World Congress 2022

9:46 min

Questions on architecture typing and team organization

Trishul Goel · JS Congress

2:51 min

Deciding when to adopt or avoid TypeScript

Rob Richardson · LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

September 24, 2026 · 12:50–13:20

Stage 7

Architecting AI in Angular: WebMCP, A2UI, and the Agent Experience

Ankita Sood

Sr. Principal Engineer @ Secureworks | Angular GDE

Ankita Sood
Open session

World Congress 2026 North America

September 24, 2026 · 14:50–15:20

Stage 9

How to generate business value through performance optimizations

Nikolai Sidiropulo

Software Engineer at Meta

Nikolai Sidiropulo
Open session

World Congress 2026 North America

September 25, 2026 · 11:40–12:10

Stage 1

Context Engineering: How machines remember and forget

Emre Okcular

Solutions Architect at OpenAI

Emre Okcular
Open session

World Congress 2026 North America

September 24, 2026 · 11:40–12:10

Stage 7

Clean Rooms Demystified: Architecture and Patterns for Privacy-Safe Data Collaboration

Anurag Malik

Data Tech Lead @ Intuit

Anurag Malik
Open session

World Congress 2026 North America

September 25, 2026 · 15:30–15:40

Outdoor Stage

Offloading IoT State: Solving the Memory Crisis on Legacy Hardware

Pravin Nagare

Senior Software Engineer, Roku

Pravin Nagare
Open session

World Congress 2026 North America

September 25, 2026 · 16:00–16:10

Outdoor Stage

public void saveMoney(AI): The Developer's Guide to Unit Economics

Hrushikesh Pokala

Senior Software Engineer Lead at Equifax

Hrushikesh Pokala