Simple play icon Course
Skills

Creating and Using Decorators in JavaScript

by Ivan Mushketyk

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.

What you'll learn

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.

About the author

Ivan is a Principal Software Engineer and a Tech Lead who is passionate about Big Data and Cloud Computing. He has worked for numerous big IT companies including Samsung and Amazon Web Services. He is an Open Source enthusiast and has contributed to a number of projects including Gatling and Apache Flink. When he is not writing code or working on a new course, he is probably writing another technical article for his blog.

Ready to upskill? Get started