EmberScreencast 115 - ES2016 Decorators

Опубликовано: 18 Июнь 2026
на канале: EmberSchool
47
0

Originally published at EmberScreencasts.com on Feb 05, 2016. https://www.emberscreencasts.com/post...

Decorators let you easily and repeatedly add functionality to existing functions.

In this episode we go over how to use and create decorators, creating two useful decorators that demonstrate different parts of the API.

Links:
javascript-decorators proposal - https://github.com/wycats/javascript-...
Screencast on decorators -    • Decorators in JavaScript  
Blog post on Ember and decorators - http://karolgalanciak.com/blog/2015/1...
ember-computed-decorator addon - https://github.com/rwjblue/ember-comp...

Want to learn Ember 2? Go to https://www.emberschool.com