DEV Community

Discussion on: Quantum Angular: Maximizing Performance by Removing Zone

Collapse
 
martinmcwhorter profile image
Martin McWhorter

One thing to note, the Angular compiler does special magic to turn its built in decorators into static annotations to allow for tree shaking of decorated classes.

Custom decorators on classes prevent the class from being tree shaken. This is more of an issue for libraries than applications.