JavaScript Decorators for Declarative and Readable Code

1 · Minko Gechev · Jan. 29, 2018, midnight
Decorators in JavaScript are now in stage 2. They allow us to alter the definition of a class, method, or a property. There are already a few neat libraries which provide decorators and make our life easier by allowing us to write more declarative code with better performance characteristics. In this blog post I’ll share a few decorators which I’m using on a daily basis. We’ll take a look at:...