Decorators in Depth
summary
Decorators are shown as concrete functions that wrap or replace class members: examples include a benchmark decorator that times and logs a model method, an authenticated decorator that replaces beforeModel to redirect unauthenticated users, and Ember primitives like @tracked and @action implemented by replacing properties with getters/setters or bound functions. The talk explains stage‑one vs stage‑two spec tradeoffs, performance and tooling risks, and why relying on framework‑provided decorators is safer than authoring custom ones.
AI-written summary · about
chapters (7)
- 0:00Start
- 9:27Attribute Oriented Programming
- 10:31Hibernate
- 18:13Stage Three
- 19:56Where Are We with Javascript Decorators
- 37:05The Tracked Decorator
- 39:00Action
related talks
48mFalling in love with decorators ES6/TypeScript
46mDecorating JavaScript
40mStandardizing JavaScript Decorators in TC39
32mDemystifying TypeScript Decorators
01mDecorators Demystified
02h 21mIntroduction to Decorators: Power Up Your Python Code
02h 32mIntroduction to Decorators: Power UP Your Python Code
29mIdiomatic Ember, Sweet Spot of Performance and Productivity
