Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Creating and Using Decorators in JavaScript

via Pluralsight

Overview

Decorators are a new JavaScript feature that allows you to write flexible and readable code using meta-programming techniques. This course will teach you how to use and implement decorators in JavaScript.

Decorators are a new JavaScript feature that allows you to write flexible and readable code using meta-programming techniques. Decorators allow you to modify application behavior in runtime and provide a new way for code re-use that is different from traditional inheritance or object composition techniques. In this course, Creating and Using Decorators in JavaScript, you’ll learn to use and create decorators and learn how they work under the hood. First, you’ll explore what decorators are, and how they can be used. Next, you’ll discover how to implement various types of decorators, and how they work under the hood. Finally, you’ll learn how to build a small web framework using decorators. When you’re finished with this course, you’ll have the skills and knowledge of decorators needed to develop complex applications in JavaScript.

Syllabus

  • Course Overview 1min
  • Introduction to Decorators 27mins
  • Implementing a Decorators Library 22mins
  • Implementing a Decorator Based Web Framework 45mins

Taught by

Ivan Mushketyk

Reviews

Start your review of Creating and Using Decorators in JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.