Angular2 using either npm metadata or core-js / es7 / reflection

Looking at Angular2 projects, I see some using: npm ref-metadata p>

and others use: core-js / es7 / reflection

I know that both implement the proposed ES7 Decorator and display the API

But what is the difference between the two? Do they just copy / paste? I assume they are equivalent

+3
javascript reflection decorator angular
Sep 21 '16 at 5:00
source share
1 answer

core-js/es7/reflect: Native JavaScript support for the metadata reflection API .

npm reflect-metadata: TypeScript support for the prototype API Reflection ES7 .

Hope this help!

+1
Sep 21 '16 at 6:09
source share



All Articles