TypeScript Decorators - Higher Order Functions in Disguise
Offered By: NDC Conferences via YouTube
Course Description
Overview
Explore the power of TypeScript decorators in this 46-minute conference talk that delves into their practical applications and benefits. Learn how to leverage decorators and decorator factories to encapsulate orthogonal concepts like logging, analytics, caching, operation progress, and timeouts in a clean, non-obtrusive manner. Discover the similarities between decorators and higher-order functions, and gain insights into their implementation through examples such as memoization and timeout handling. Understand how decorators can help manage repetitive errors and improve error handling with loaders, ultimately enhancing your TypeScript development skills and code organization.
Syllabus
Introduction
Power of Composition
FN arcs
Decorators
Memoized example
Decorators explanation
Timeout decorators
Example
Repetitive Errors
Errors with Loader
Error Example
Taught by
NDC Conferences
Related Courses
Health Informatics: Data and Interoperability StandardsGeorgia Institute of Technology via edX Fractal Architecture
NDC Conferences via YouTube Strangling the Monolith - Applied Patterns & Practices from the Trenches
NDC Conferences via YouTube Refactoring Is Not Just Clickbait
NDC Conferences via YouTube Amazing Algorithms for Solving Problems in Software
NDC Conferences via YouTube