Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn TypeScript Decorators in depth
Rating: 4.1 out of 5(24 ratings)
4,888 students

Learn TypeScript Decorators in depth

Ace your TypeScript skills with TypeScript decorators
Last updated 7/2022
English
English [Auto],

What you'll learn

  • First basics of the TypeScript decorators are covered in a very beginner friendly manner
  • Then advanced topics like decorator factory, property descriptor are covered
  • A flavor of Reflection and meta data is also covered
  • All related Coding examples including validations and logging are covered.

Course content

3 sections16 lectures1h 32m total length
  • Introduction to the Course0:54

    Learn TypeScript decorators through hands-on coding in a practical environment, balancing theory with real code concepts as you start this brand-new course.

  • Introducing Decorators7:27

    Learn how experimental TypeScript decorators work by building a first sample decorated class, enabling class decorators, and observing runtime behavior and decorator metadata features.

  • Remove experimental Deocorator warning3:58

    Remove the experimental decorator warning by directing all compiled JavaScript to a dedicated build folder, configuring the output directory, and compiling the entire project with a single command.

  • Types of Decorators1:36

    Explore the four types of TypeScript decorators—class, property, method, and parameter—and see how each applies to classes, properties, methods, and parameters.

  • Property Decorator6:12

    Apply a sample property decorator to a class property, learning how the decorator receives the target and property key. See how it attaches behavior during compilation.

  • Method Decorator4:52

    Learn how a method decorator is applied to a teach method in a teacher class, with runtime decoration and interaction with a property decorator, including evaluation and running sequences.

  • Parameter Decorator6:51

    Explore how a parameter decorator receives the target object, property key, and parameter index, compiled and executed at runtime, and how it integrates with class, property, method, and parameter decorators.

Requirements

  • You should be knowing basic TypeScript and JavaScript

Description

In this course you learn in depth the following topics

1. What are TypeScript decorators ?

2. Types of TypeScript Decorators

3. Decorator Factories

4. Implementing Decorator factories with different types of Decorators

5. Property Descriptors

6. Introduction to Reflection and Meta data

7. Variety of Use cases and

8. Practical coding examples for different types of validations and their implementations through TypeScript Decorators.

TypeScript is the superset of JavaScript. TypeScript Decorators are a feature in TypeScript through which you attach functionalities to various parts of objects and classes, functions, properties and parameters etc.

TypeScript Decorators play an important role in many JavaScript based frameworks and technologies including Angular, React, VueJS and other prominent libraries which support TypeScript. That is why it is a very important part of every programmer's toolset.

Learning this feature and adding it to your toolset will definitely add to your skill set in different directions including Web APIs, client side programming or server side programming.

Whether you are a beginner level programmer, an intermediate or an expert, this course has something for everyone. Explanations are kept so simple and easy to understand that it is easily understood by all, but without losing any core concepts.

The better approach will be to code in parallel and become hands on with these advanced concepts. That is why I have coded each line right there. And concepts and theories have been discussed in live coding so as not to bore with the static slides and graphics. Instead keeping engaged in coding all the time.



Who this course is for:

  • The course is for all levels including Beginners, intermediate or experts with TypeScript and related technologies